generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #753 from amitamrutiya/catalog-search-sort
Convert cloud catalog sort menu and search field to sistent
- Loading branch information
Showing
2 changed files
with
61 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { styled } from '@mui/material'; | ||
import { InputAdornment, OutlinedInput } from '../../base'; | ||
|
||
export const StyledSearchInput = styled(OutlinedInput)(({ style }) => ({ | ||
width: '100%', | ||
'@media (max-width: 590px)': { | ||
marginLeft: '0.25rem', | ||
paddingLeft: '0.25rem' | ||
}, | ||
display: 'flex', | ||
...style | ||
})); | ||
|
||
export const InputAdornmentEnd = styled(InputAdornment)(({ theme }) => ({ | ||
borderLeft: `1px solid ${theme.palette.border.normal}`, | ||
height: '30px', | ||
paddingLeft: '10px', | ||
'@media (max-width: 590px)': { | ||
paddingLeft: '0px' | ||
} | ||
})); |