Skip to content

Commit 6332a21

Browse files
committed
Fix responsive styles
1 parent 4bd8c27 commit 6332a21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/ui/navigation/Panel.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default function Panel() {
7272
<>
7373
<VStack
7474
as={"aside"}
75-
flex={{ base: 0.5, sm: 0.5, md: 1 }}
75+
flex={{ base: 0.5, md: 1 }}
7676
minHeight={"100%"}
7777
borderRight={"1px"}
7878
borderColor={"#edf1f5"}
@@ -119,7 +119,7 @@ export default function Panel() {
119119
<HStack>
120120
<Icon as={BsCloud} />
121121

122-
<Heading size={"sm"} display={{ sm: "none", md: "flex" }}>
122+
<Heading size={"sm"} display={{ base: "none", md: "flex" }}>
123123
Storage
124124
</Heading>
125125
</HStack>
@@ -135,7 +135,7 @@ export default function Panel() {
135135
isIndeterminate={!storageValueLoaded}
136136
colorScheme={"blue"}
137137
rounded={"full"}
138-
display={{ sm: "none", md: "flex" }}
138+
display={{ base: "none", md: "flex" }}
139139
/>
140140
</Tooltip>
141141
<Heading
@@ -154,7 +154,7 @@ export default function Panel() {
154154
<Skeleton isLoaded={isMounted}>
155155
<Text
156156
textAlign={"center"}
157-
display={{ sm: "none", md: "initial" }}
157+
display={{ base: "none", md: "initial" }}
158158
fontSize={"sm"}
159159
>
160160
{storage.used.mb.toFixed(1)} MB of 100 MB used

0 commit comments

Comments
 (0)