Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix top-right user nav styling.

Kailash Nadh2ef1e404e2b4
diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index 6a1adeac..582f4e67 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -27,7 +27,7 @@
</button>
<ot-dropdown v-if="profile.username">
- <button popovertarget="user-menu" type="button" class="outline small user-trigger">
+ <button popovertarget="user-menu" type="button" class="user-nav-button ghost small user-trigger">
<span class="user-avatar">
<img v-if="profile.avatar" :src="profile.avatar" alt="" />
<span v-else>{{ profile.username[0].toUpperCase() }}</span>
diff --git a/frontend/src/assets/style.css b/frontend/src/assets/style.css
index 86142bd9..a8b57d8a 100644
--- a/frontend/src/assets/style.css
+++ b/frontend/src/assets/style.css
@@ -183,6 +183,17 @@ nav[data-topnav] {
}
}
+ .user-nav-button {
+ padding-top: 0;
+ padding-bottom: 0;
+
+ .user-avatar span,
+ .user-avatar img {
+ height: 24px;
+ width: 24px;
+ }
+ }
+
a,
button {
color: var(--muted-foreground);