[site] fix: anchor offset

make it use tailwind styles
This commit is contained in:
Eugene Orlov
2023-06-06 15:22:02 -05:00
committed by Umputun
parent d1c1664a38
commit 32073b3d66
+6 -9
View File
@@ -195,15 +195,12 @@
}
.header-anchor {
pointer-events: none;
@apply pointer-events-none;
}
.header-anchor::before {
content: '';
display: block;
height: 75px;
margin-top: -75px;
visibility: hidden;
}
.header-anchor:focus-visible {
outline: none;
@apply content-[''];
@apply block;
@apply h-16;
@apply -mt-16;
@apply invisible;
}