Skip to content

Commit bad8d45

Browse files
#27 Fix flex issue on side menu & center header image
1 parent e67226d commit bad8d45

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

app/styles/layout.scss

+11
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,22 @@ button{
3030
&-header{
3131
height: 150px;
3232
background-image: url('assets/img/header_pubg2.png');
33+
background-position: center;
3334
background-size: cover;
3435
}
3536
}
3637
}
3738

39+
@media only screen and (max-width: 480px){
40+
.app-layout{
41+
.app-content{
42+
&-content{
43+
padding: 0;
44+
}
45+
}
46+
}
47+
}
48+
3849
.fa-ul {
3950
color: #000000;
4051
}

app/styles/side-menu/side-menu.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
}
3838

3939
.side-menu-links{
40-
flex: 1;
4140
display: flex;
4241
flex-direction: column;
4342
margin-top: 32px;
@@ -142,6 +141,7 @@
142141
}
143142

144143
.side-menu-footer{
144+
margin-top: auto;
145145
margin-bottom: 16px;
146146

147147
ul{
@@ -188,6 +188,7 @@
188188
.app-layout{
189189
& > .side-menu-footer{
190190
display: block;
191+
margin-top: 16px;
191192
}
192193
}
193194
}

0 commit comments

Comments
 (0)