Skip to content

Commit

Permalink
tab styling
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Nov 21, 2023
1 parent 9280f2d commit 33a45ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/CommandBar/SearchBarTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const SearchBarTab = ({ type, active, count, inputRef }: SearchBarTabProp
const { setActiveTab } = useActions(searchBarLogic)
return (
<div
className={`SearchBarTab flex items-center px-3 py-2 cursor-pointer text-xs whitespace-nowrap border-t-2 ${
className={`SearchBarTab flex items-center px-4 py-2 cursor-pointer text-xs whitespace-nowrap border-t-2 ${
active ? 'SearchBarTab__active font-bold border-primary-3000' : 'border-transparent'
}`}
onClick={() => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/components/CommandBar/SearchTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const SearchTabs = ({ inputRef }: SearchTabsProps): JSX.Element | null =>
}

return (
<div className="flex items-center border-t space-x-3 px-2 shrink-0 overflow-x-auto bg-bg-light">
<div className="flex items-center border-t shrink-0 overflow-x-auto bg-bg-light">
<SearchBarTab type="all" active={activeTab === 'all'} inputRef={inputRef} />
{Object.entries(searchResponse.counts).map(([type, count]) => (
<SearchBarTab
Expand Down

0 comments on commit 33a45ac

Please sign in to comment.