Skip to content

Commit

Permalink
fix: issue #437
Browse files Browse the repository at this point in the history
  • Loading branch information
whtsupbab3 committed Dec 24, 2024
1 parent a4b00d2 commit 6aef277
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 21 deletions.
39 changes: 18 additions & 21 deletions src/components/layout/ContentHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,35 +71,32 @@ export default function ContentHome() {
<Select
id='sort-select'
value={sortType}
className='h-full py-0 bg-[#D1ECFF]/20 text-bold bg-gradient-to-t from-white-200 from-10% via-30% to-50% rounded-full hover:border-white'
className='h-full py-0 rounded-full'
sx={{
color: 'white',
'& .MuiSvgIcon-root': { color: 'white' },
'& fieldset': {
borderColor: 'white',
'&:hover': {
borderColor: 'white !important',
},
},
'& .MuiSelect-select': {
padding: '0 32px 0 12px !important',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
minWidth: '36px',
minHeight: '36px',
'@media (min-width: 768px)': {
minHeight: '42px',
},
'&:hover .MuiOutlinedInput-notchedOutline': {
borderColor: 'white !important',
},
'&:hover': {
'& fieldset': {
borderColor: 'white !important',
},
'&.Mui-focused .MuiOutlinedInput-notchedOutline': {
borderColor: 'white !important',
},
'&.Mui-focused': {
'& fieldset': {
borderColor: 'white !important',
}}
MenuProps={{
sx: {
'& .MuiPaper-root': {
backdropFilter: 'blur(8px)',
background:
'linear-gradient(to top, rgba(209, 236, 255, 0.2) 10%, rgba(209, 236, 255, 0.1) 30%, rgba(209, 236, 255, 0.05) 50%)',
color: '#FFF',
marginTop: '0.25rem',
},
'& .MuiMenuItem-root': {
fontFamily: 'GeistMono-Regular',
fontSize: '0.875rem',
},
},
}}
Expand Down
18 changes: 18 additions & 0 deletions src/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,24 @@ const Header = () => {
MenuListProps={{
'aria-labelledby': 'basic-button',
}}
sx={{
'& .MuiPaper-root': {
backdropFilter: 'blur(8px)',
background:
'linear-gradient(to top, rgba(209, 236, 255, 0.2) 10%, rgba(209, 236, 255, 0.1) 30%, rgba(209, 236, 255, 0.05) 50%)',
color: '#FFF',
marginTop: '0.25rem',
fontFamily: 'GeistMono-Regular',
fontSize: '0.875rem',
},
'& .MuiMenuItem-root': {
fontFamily: 'GeistMono-Regular',
fontSize: '0.875rem',
},
'& .MuiList-root': {
gap: '1.25rem',
},
}}
>
{networks.map(({ href, Icon, name }) => (
<MenuItem
Expand Down

0 comments on commit 6aef277

Please sign in to comment.