From 63f9c271ca9958abb00d879be01a045d25d261d1 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Tue, 30 Jul 2024 20:58:25 +0900 Subject: [PATCH] :art: --- .../src/components/MkSystemWebhookEditor.vue | 5 ++- .../notification-recipient.editor.vue | 43 +++++++++++-------- .../frontend/src/pages/emoji-edit-dialog.vue | 5 ++- 3 files changed, 30 insertions(+), 23 deletions(-) diff --git a/packages/frontend/src/components/MkSystemWebhookEditor.vue b/packages/frontend/src/components/MkSystemWebhookEditor.vue index a141b4ff74..cad2e99e4d 100644 --- a/packages/frontend/src/components/MkSystemWebhookEditor.vue +++ b/packages/frontend/src/components/MkSystemWebhookEditor.vue @@ -19,8 +19,8 @@ SPDX-License-Identifier: AGPL-3.0-only {{ mode === 'create' ? i18n.ts._webhookSettings.createWebhook : i18n.ts._webhookSettings.modifyWebhook }} -
- +
+
@@ -226,6 +226,7 @@ onMounted(async () => { .footer { position: sticky; + z-index: 10000; bottom: 0; left: 0; padding: 12px; diff --git a/packages/frontend/src/pages/admin/abuse-report/notification-recipient.editor.vue b/packages/frontend/src/pages/admin/abuse-report/notification-recipient.editor.vue index 015109f54e..827e22e8ae 100644 --- a/packages/frontend/src/pages/admin/abuse-report/notification-recipient.editor.vue +++ b/packages/frontend/src/pages/admin/abuse-report/notification-recipient.editor.vue @@ -16,8 +16,8 @@ SPDX-License-Identifier: AGPL-3.0-only -
- +
+
@@ -44,7 +44,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ webhook.name }} - + @@ -60,8 +60,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.ok }} - {{ i18n.ts.cancel }} + {{ i18n.ts.ok }} + {{ i18n.ts.cancel }}
@@ -289,10 +289,15 @@ onMounted(async () => { } .footer { - display: flex; - justify-content: center; - align-items: flex-end; - margin-top: 20px; + position: sticky; + z-index: 10000; + bottom: 0; + left: 0; + padding: 12px; + border-top: solid 0.5px var(--divider); + background: var(--acrylicBg); + -webkit-backdrop-filter: var(--blur, blur(15px)); + backdrop-filter: var(--blur, blur(15px)); } .systemWebhook { @@ -301,16 +306,16 @@ onMounted(async () => { justify-content: stretch; align-items: flex-end; gap: 8px; +} - button { - min-width: 0; - min-height: 0; - width: 34px; - height: 34px; - flex-shrink: 0; - box-sizing: border-box; - margin: 1px 0; - padding: 6px; - } +.systemWebhookEditButton { + min-width: 0; + min-height: 0; + width: 34px; + height: 34px; + flex-shrink: 0; + box-sizing: border-box; + margin: 1px 0; + padding: 6px; } diff --git a/packages/frontend/src/pages/emoji-edit-dialog.vue b/packages/frontend/src/pages/emoji-edit-dialog.vue index d0a6bba47b..853c1d6b0b 100644 --- a/packages/frontend/src/pages/emoji-edit-dialog.vue +++ b/packages/frontend/src/pages/emoji-edit-dialog.vue @@ -15,8 +15,8 @@ SPDX-License-Identifier: AGPL-3.0-only -
- +
+
@@ -239,6 +239,7 @@ async function del() { .footer { position: sticky; + z-index: 10000; bottom: 0; left: 0; padding: 12px;