fix: misaligned new post button

I don't understand why margin-top caused that ??
This commit is contained in:
freeplay 2023-06-30 18:44:38 -04:00
parent cda1c19454
commit 6ebd2f1569

View file

@ -346,13 +346,12 @@ onMounted(() => {
display: flex; display: flex;
justify-content: center; justify-content: center;
top: calc(var(--stickyTop, 0px) - 60px); top: calc(var(--stickyTop, 0px) - 60px);
z-index: 1000;
width: 600px; width: 600px;
max-width: 100%; max-width: 100%;
height: 60px; height: 60px;
margin-top: -60px;
pointer-events: none; pointer-events: none;
margin-inline: auto; margin: auto;
margin-bottom: -60px;
z-index: 1001; z-index: 1001;
box-shadow: 0 24px 24px -20px var(--accentedBg); box-shadow: 0 24px 24px -20px var(--accentedBg);
&::after { &::after {