From 2ec75fdd700077ed88404652e1277b063bef4942 Mon Sep 17 00:00:00 2001 From: freeplay Date: Fri, 30 Jun 2023 18:44:38 -0400 Subject: [PATCH] fix: misaligned new post button I don't understand why margin-top caused that ?? --- packages/client/src/pages/timeline.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index 3b3a08c0a..c786f016b 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -346,13 +346,12 @@ onMounted(() => { display: flex; justify-content: center; top: calc(var(--stickyTop, 0px) - 60px); - z-index: 1000; width: 600px; max-width: 100%; height: 60px; - margin-top: -60px; pointer-events: none; - margin-inline: auto; + margin: auto; + margin-bottom: -60px; z-index: 1001; box-shadow: 0 24px 24px -20px var(--accentedBg); &::after {