Skip to content

Commit 1942301

Browse files
committed
Change css to mobile-first
1 parent 204c796 commit 1942301

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

components/mainFrame/mainFrame.module.scss

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
--navbar-width: 48px;
1515
width: 100%;
1616
min-height: 100vh;
17+
display: flex;
18+
flex-direction: column;
1719
}
1820

1921
.navbarVertical {
@@ -40,10 +42,16 @@
4042
}
4143

4244
.mainFrame {
43-
width: calc(100% - var(--navbar-width));
44-
min-height: 100vh;
45-
margin-left: var(--navbar-width);
45+
width: 100%;
46+
flex-grow: 1;
4647
display: flex;
4748
flex-direction: column;
4849
align-items: center;
50+
51+
@include theme.pc {
52+
width: calc(100% - var(--navbar-width));
53+
min-height: 100vh;
54+
margin-left: var(--navbar-width);
55+
}
4956
}
57+

0 commit comments

Comments
 (0)