mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
fix: position top
This commit is contained in:
@@ -156,6 +156,7 @@ export const PlayerFilter: React.FC<Props> = ({
|
||||
|
||||
// Adds/removes styles to the search and filters container
|
||||
function toggleStickyStyles() {
|
||||
return searchFiltersStickyStyles;
|
||||
if (isSticky && !isSmallScreen) {
|
||||
return searchFiltersStickyStyles;
|
||||
}
|
||||
@@ -177,6 +178,7 @@ export const PlayerFilter: React.FC<Props> = ({
|
||||
px: '2.5em',
|
||||
py: '1em',
|
||||
w: '98vw',
|
||||
top: '-3rem',
|
||||
};
|
||||
|
||||
// How it looks when it's not sticky
|
||||
|
||||
Reference in New Issue
Block a user