From 8cc4581c093b2d7d28a507e9b6393405db23db62 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Wed, 14 Sep 2022 17:31:17 +0900 Subject: [PATCH] improve: Improved button design and placement in navigation bar settings --- packages/client/src/pages/settings/navbar.vue | 32 +++++++++++++++++-- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/packages/client/src/pages/settings/navbar.vue b/packages/client/src/pages/settings/navbar.vue index f3a01a0c6b..e0d81fa1a7 100644 --- a/packages/client/src/pages/settings/navbar.vue +++ b/packages/client/src/pages/settings/navbar.vue @@ -24,9 +24,11 @@ - {{ i18n.ts.addItem }} - {{ i18n.ts.save }} - {{ i18n.ts.default }} +
+ {{ i18n.ts.addItem }} + {{ i18n.ts.save }} + {{ i18n.ts.default }} +
@@ -124,6 +126,30 @@ definePageMetadata({ } } +.wthhikgt { + position: relative; + display: flex; + + > ::v-deep(*) { + flex: 1; + margin: 0; + + &:not(:last-child) { + margin-right: 16px; + } + } + + @media (max-width: 500px) { + display: block; + + > ::v-deep(*) { + margin: 0 0 10px 0; + width: 100%; + padding: var(--margin); + } + } +} + .item, .otherItem { display: flex; align-items: center;