From 2261219a27d1e5e18732216f69aa58f1fa88a606 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 a038fd1b1..99e112925 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;