From 0301e3fe8072005025d49341f2cb06c2cd3088e9 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Tue, 25 Jul 2023 00:39:37 +0200 Subject: [PATCH] Fix compose box button alignment Co-authored by @volpeon@is-a.wyvern.rip: https://is-a.wyvern.rip/notes/9hkk0o4uy13mrdt3 --- packages/client/src/components/MkPostForm.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/MkPostForm.vue b/packages/client/src/components/MkPostForm.vue index 059aac06d..900d08a42 100644 --- a/packages/client/src/components/MkPostForm.vue +++ b/packages/client/src/components/MkPostForm.vue @@ -1068,6 +1068,8 @@ onMounted(() => { position: absolute; top: 0; right: 0; + display: flex; + align-items: center; > .text-count { opacity: 0.7; @@ -1082,6 +1084,10 @@ onMounted(() => { & + .localOnly { margin-left: 0 !important; } + + > span:only-child > i { + display: block; + } } > .local-only { @@ -1093,7 +1099,7 @@ onMounted(() => { display: inline-block; padding: 0; margin: 0 8px 0 0; - font-size: 16px; + font-size: inherit !important; width: 34px; height: 34px; border-radius: 6px;