about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-06-15 18:00:03 +0200
committerGitHub <noreply@github.com>2018-06-15 18:00:03 +0200
commit33dd9bf36d7cb7c94f76520357879d1a913c4ccb (patch)
tree5333457f8722bba227cbd5d9d47b09944900ac98
parentc3b3594305f4480b02177f4f90d134eb63c8f873 (diff)
Fix vertical alignment of navigation bar (#7807)
-rw-r--r--app/javascript/styles/mastodon/components.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 0a75a64dd..9ec25c572 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -1494,6 +1494,7 @@ a.account__display-name {
 .navigation-bar {
   padding: 10px;
   display: flex;
+  align-items: center;
   flex-shrink: 0;
   cursor: default;
   color: $darker-text-color;
@@ -1531,6 +1532,8 @@ a.account__display-name {
 .navigation-bar__profile {
   flex: 1 1 auto;
   margin-left: 8px;
+  line-height: 20px;
+  margin-top: -1px;
   overflow: hidden;
 }