Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 34ab04c

Browse files
committed
Style footer menu for mobile
1 parent b06371b commit 34ab04c

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

components/molecules/Navigation/Navigation.module.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.navigation {
22
& > ul {
3-
@apply flex;
3+
@apply flex flex-wrap justify-center;
44

55
& > li {
6-
@apply relative ml-10;
6+
@apply relative mx-8 mb-2;
77

88
& a {
99
@apply block;
@@ -24,6 +24,12 @@
2424
@apply block;
2525
}
2626
}
27+
28+
@screen lg {
29+
&:last-child {
30+
@apply mr-0 mb-0;
31+
}
32+
}
2733
}
2834

2935
/* Nested ul / Drop Menu */

components/organisms/Footer/Footer.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
& .footerMenu {
55
& > ul {
6-
@apply flex justify-center mb-8;
6+
@apply flex flex-wrap justify-center mb-8;
77

88
& > li {
9-
@apply mx-8;
9+
@apply mx-8 mb-2;
1010
}
1111
}
1212
}

0 commit comments

Comments
 (0)