More resiliant hamburger menu position

This commit is contained in:
Kuba Orlik 2026-07-26 23:10:56 +02:00
parent b2d59818dd
commit 4b6010664c

View File

@ -69,6 +69,7 @@ nav {
.hamburger-menu { .hamburger-menu {
position: fixed; position: fixed;
position-anchor: --my-anchor; position-anchor: --my-anchor;
position-try-fallbacks: flip-inline;
top: calc(anchor(top) - 2px); top: calc(anchor(top) - 2px);
right: calc(anchor(right) - 14px); right: calc(anchor(right) - 14px);
display: flex; display: flex;