@samitouri / QOSami-HFS / commits / bbc7f8f2

better code: removed unwanted and faulty css

Massimo Melina committed Apr 1, 2024 at 19:02 UTC bbc7f8f21f4b4bb305493bc4062c16b6f12c0a41
2 files changed +1 -3
admin/src/VfsMenuBar.ts
-2
@@ -20,8 +20,6 @@ export default function VfsMenuBar({ statusApi }: { statusApi: ApiObject }) {
20 const { data: integrated, reload } = useApi(isWindows && 'windows_integrated')
21 return h(Flex, {
22 mb: 2,
23 - position: 'sticky',
24 - top: 0,
23 zIndex: 2,
24 backgroundColor: 'background.paper',
25 width: 'fit-content',
admin/src/VfsPage.ts
+1 -1
@@ -137,7 +137,7 @@ export default function VfsPage() {
137 h(Alert, { severity: 'info' }, "If you rename or delete here, it's virtual, and only affects what is presented to the users"),
138 alert && h(Alert, alert),
139 ),
140 - h(Grid, { container: true, rowSpacing: 1, columnSpacing: 2, position: 'sticky', top: 0 },
140 + h(Grid, { container: true, rowSpacing: 1, columnSpacing: 2, top: 0 },
141 h(Grid, { item: true, xs: 12, [sideBreakpoint]: 6, lg: 6, xl: 5 },
142 h(Typography, { variant: 'h6', mb: 1, }, "Virtual File System"),
143 h(VfsMenuBar, { statusApi }),