style: Header 高度调整后微调 badge 位置

#Issue
link #I12YES
This commit is contained in:
Argo Zhang 2019-10-05 23:38:12 +08:00
parent b2c2a889ca
commit f147aa3736
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 8 additions and 4 deletions

View File

@ -17,6 +17,10 @@
padding: 16px 12px;
}
.header .badge {
top: 4px;
}
.header nav, .userinfo .dropdown-toggle:after {
display: none;
}
@ -106,7 +110,7 @@
.userinfo .dropdown-item a .badge {
top: 74px;
left: auto;
right: 42px;
right: 36px;
}
.userinfo .dropdown-item:last-child {

View File

@ -39,8 +39,8 @@ aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdow
.header .badge {
position: absolute;
right: -6px;
top: 4px;
right: -12px;
top: -4px;
opacity: 0.8;
z-index: 1;
}
@ -157,7 +157,7 @@ aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdow
}
.userinfo .badge {
left: 234px;
left: 224px;
right: auto;
top: 6px;
}