1
0
Fork 0
forked from fedi/mastodon

Fix vertical alignment of navigation bar (#7807)

This commit is contained in:
Eugen Rochko 2018-06-15 18:00:03 +02:00 committed by GitHub
parent c3b3594305
commit 33dd9bf36d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1494,6 +1494,7 @@ a.account__display-name {
.navigation-bar { .navigation-bar {
padding: 10px; padding: 10px;
display: flex; display: flex;
align-items: center;
flex-shrink: 0; flex-shrink: 0;
cursor: default; cursor: default;
color: $darker-text-color; color: $darker-text-color;
@ -1531,6 +1532,8 @@ a.account__display-name {
.navigation-bar__profile { .navigation-bar__profile {
flex: 1 1 auto; flex: 1 1 auto;
margin-left: 8px; margin-left: 8px;
line-height: 20px;
margin-top: -1px;
overflow: hidden; overflow: hidden;
} }