diff --git a/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js b/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js
index 3148434f1..f6bfbdd1e 100644
--- a/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js
+++ b/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js
@@ -20,16 +20,18 @@ export default class NavigationBar extends ImmutablePureComponent {
-
- @{this.props.account.get('acct')}
-
+
+
+ @{this.props.account.get('acct')}
+
- { profileLink !== undefined && (
-
- )}
+ { profileLink !== undefined && (
+
+ )}
+
);
};
diff --git a/app/javascript/flavours/glitch/styles/components/drawer.scss b/app/javascript/flavours/glitch/styles/components/drawer.scss
index f054ddbc0..0e50482f6 100644
--- a/app/javascript/flavours/glitch/styles/components/drawer.scss
+++ b/app/javascript/flavours/glitch/styles/components/drawer.scss
@@ -163,18 +163,15 @@
.drawer--account {
padding: 10px;
color: $darker-text-color;
+ display: flex;
+ align-items: center;
- & > a {
+ a {
color: inherit;
text-decoration: none;
}
- & > .avatar {
- float: left;
- margin-right: 10px;
- }
-
- & > .acct {
+ .acct {
display: block;
color: $secondary-text-color;
font-weight: 500;
@@ -184,6 +181,12 @@
}
}
+.navigation-bar__profile {
+ flex: 1 1 auto;
+ margin-left: 8px;
+ overflow: hidden;
+}
+
.drawer--results {
background: $ui-base-color;
overflow-x: hidden;