fix: misaligned new post button
I don't understand why margin-top caused that ??
This commit is contained in:
parent
cda1c19454
commit
6ebd2f1569
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue