Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 7c5b736

Browse files
committed
fix #1046 styling issues in the top nav menu
1 parent 0e67f88 commit 7c5b736

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

assets/css/layout/header.scss

+8-3
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@
183183
}
184184

185185
.user-menu {
186-
max-height: 54px;
187186
.user-avatar {
188187
height: 31px;
189188
width: 31px;
@@ -215,8 +214,10 @@
215214
text-transform: uppercase;
216215
}
217216

218-
.user-menu .submenu {
219-
padding-top: 5px;
217+
@media only screen and (max-width: 1024px) {
218+
.user-menu .submenu {
219+
padding-top: 5px;
220+
}
220221
}
221222

222223
.submenu {
@@ -341,6 +342,10 @@
341342
}
342343

343344
@media only screen and (min-width : 1025px) {
345+
.user-menu {
346+
max-height: 54px;
347+
}
348+
344349
.header-wrapper {
345350
background: #fff;
346351
position: relative;

0 commit comments

Comments
 (0)