Skip to content

Commit f1643c1

Browse files
committed
feat(styles/layout): new utility
1 parent ba4a46c commit f1643c1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

packages/styles/src/css/layout.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
@layer utilities {
2+
.gecut-layout {
3+
body {
4+
main {
5+
&.has-top-bar {
6+
@apply pt-16;
7+
}
8+
&.has-navigation-bar {
9+
@apply pt-20;
10+
}
11+
12+
.gecut-page {
13+
@apply w-full min-h-full;
14+
}
15+
16+
@apply w-full;
17+
}
18+
19+
@apply overflow-x-hidden overflow-y-auto w-full h-full;
20+
}
21+
22+
@apply h-full;
23+
}
24+
}

0 commit comments

Comments
 (0)