mirror of https://github.com/cocosolos/ixion.git
Improve shadows in search box
This commit is contained in:
parent
9e598dc280
commit
5d3d823c34
|
|
@ -131,24 +131,20 @@ export default function SearchServers({
|
|||
};
|
||||
|
||||
return (
|
||||
<Container
|
||||
<Box
|
||||
ref={containerRef}
|
||||
className="overflow-hidden"
|
||||
sx={{
|
||||
transition: 'all 0.3s ease',
|
||||
maxHeight: showSearchServer ? contentHeight : 0,
|
||||
borderBottom: showSearchServer
|
||||
? (theme) =>
|
||||
theme.palette.mode === 'dark'
|
||||
? '1px solid rgba(255, 255, 255, .12)'
|
||||
: '1px solid rgba(0, 0, 0, .12)'
|
||||
: 'none',
|
||||
backgroundColor: (theme) =>
|
||||
theme.palette.mode === 'dark'
|
||||
? 'rgba(255, 255, 255, .06)'
|
||||
: 'rgba(0, 0, 0, .06)',
|
||||
boxShadow: 'inset 0em 3em 5em -5em black,inset 0em -3em 5em -6em black',
|
||||
}}
|
||||
>
|
||||
<Container>
|
||||
<Grid container spacing={2} className="py-2">
|
||||
{/* Name */}
|
||||
<Grid item xs={12}>
|
||||
|
|
@ -703,5 +699,6 @@ export default function SearchServers({
|
|||
</Grid>
|
||||
</Grid>
|
||||
</Container>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue