fix: navbar interact

This commit is contained in:
tresabhi committed 2025-04-03 13:00:23 -05:00
1 parent 8d9dff8d73
commit 92399de5e2
1 file changed
+5 -8
+5 -8
View File
@@ -6,13 +6,7 @@ import {
GearIcon, GearIcon,
HamburgerMenuIcon, HamburgerMenuIcon,
} from '@radix-ui/react-icons'; } from '@radix-ui/react-icons';
import { import { Box, Code, Flex, IconButton, Link } from '@radix-ui/themes';
Box,
Code,
Flex,
IconButton,
Link
} from '@radix-ui/themes';
import { TOOLS } from '../constants/tools'; import { TOOLS } from '../constants/tools';
import { resolveBranchName } from '../core/blitzkit/branches'; import { resolveBranchName } from '../core/blitzkit/branches';
import { getStrings } from '../core/i18n/getStrings'; import { getStrings } from '../core/i18n/getStrings';
@@ -31,6 +25,10 @@ const strings = getStrings(locale);
display: none; display: none;
} }
.navbar[data-expanded='true'] {
height: 100%;
}
.navbar[data-expanded='true'] *[data-closed] { .navbar[data-expanded='true'] *[data-closed] {
display: none; display: none;
} }
@@ -61,7 +59,6 @@ const strings = getStrings(locale);
width="100%" width="100%"
top="0" top="0"
position="fixed" position="fixed"
height="100%"
style={{ style={{
zIndex: 1, zIndex: 1,
}} }}