Skip to content

Commit

Permalink
Tune search bar style
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed May 11, 2024
1 parent b07fb12 commit 662061b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/app/components/Search/TableSearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,15 @@ export const TableSearchBar: FC<TableSearchBarProps> = ({ value, onChange, place
backgroundColor: COLORS.white,
border: '1px solid',
borderColor: COLORS.inactiveStroke, // brandMedium,
mr: helperText ? 0 : 3,
marginRight: helperText ? '17px' : '25px',
'&:focus-within': {
boxShadow: '3px 3px 3px 3px rgb(0, 0, 98, 0.25) !important',
},
...(helperText
? {
pl: 3,
pr: 3,
marginBottom: '-50px',
}
: {}),
}}
Expand Down
6 changes: 5 additions & 1 deletion src/app/pages/ProposalDetailsPage/ProposalVotesCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ export const ProposalVotesCard: FC = () => {
<SubPageCard>
<CardHeaderWithResponsiveActions
action={
<Box sx={{ display: 'flex-inline' }}>
<Box
sx={{
display: 'flex',
}}
>
<TableSearchBar
value={wantedNameInput}
onChange={setWantedNameInput}
Expand Down

0 comments on commit 662061b

Please sign in to comment.