Skip to content

Commit ca82205

Browse files
committed
feat: footer のレスポンシブ対応
1 parent 9f25946 commit ca82205

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

Diff for: src/components/Footer/index.astro

+14-9
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,8 @@ const pages = await getPages();
3131
grid-template-columns: 1fr;
3232
grid-template-rows: 1fr 29px;
3333

34-
@media (min-width: 600px) {
35-
grid-template-columns: 1fr 1px 1fr;
36-
}
37-
3834
.menu {
39-
padding: 30px 100px;
35+
padding: 30px 30px 30px 100px;
4036

4137
.link {
4238
line-height: 1.5rem;
@@ -49,16 +45,13 @@ const pages = await getPages();
4945
background-color: $primary-400;
5046
margin-block: auto;
5147
display: none;
52-
53-
@media (min-width: 600px) {
54-
display: block;
55-
}
5648
}
5749

5850
.syscat-container {
5951
display: flex;
6052
justify-content: center;
6153
align-items: center;
54+
display: none;
6255

6356
img {
6457
width: 200px;
@@ -74,5 +67,17 @@ const pages = await getPages();
7467
line-height: 28px;
7568
border-top: 1px solid $primary-500;
7669
}
70+
71+
@media (min-width: 600px) {
72+
grid-template-columns: 1fr 1px 1fr;
73+
74+
.line {
75+
display: block;
76+
}
77+
78+
.syscat-container {
79+
display: flex;
80+
}
81+
}
7782
}
7883
</style>

0 commit comments

Comments
 (0)