fix entry btns overflow

This commit is contained in:
isUnknown 2024-04-10 15:43:45 +02:00
parent 0de94435e1
commit cf7cfe0f44
3 changed files with 6 additions and 8 deletions

View file

@ -54,6 +54,7 @@
/* ================= ENTRY BTNS ================= */
#entry-btns {
position: sticky;
position: -webkit-sticky;
top: calc(var(--unit--vertical) * 3);
height: 20svh;
display: flex;

View file

@ -1,15 +1,12 @@
html {
overflow-x: hidden;
}
body {
position: relative;
margin: 0;
width: 100vw;
height: 100%;
box-sizing: border-box;
background-color: var(--color-background);
color: var(--color-primary);
overflow-x: clip; /* clip is the only value that works on Safari mobile */
}
main {
padding: 0 var(--unit--horizontal);
}