Skip to content
Snippets Groups Projects
Commit aa07b219 authored by HJ's avatar HJ :fire:
Browse files

fix horizontal scroll, make hovered column render stuff on top of other

ones (popups, tooltips etc)
parent 3f65c8b1
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
html {
font-size: 14px;
overflow-x: clip;
}
body {
......@@ -15,10 +16,10 @@ body {
margin: 0;
color: $fallback--text;
color: var(--text, $fallback--text);
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overscroll-behavior-y: none;
overflow-x: clip;
&.hidden {
display: none;
......@@ -174,6 +175,7 @@ nav {
flex-wrap: wrap;
justify-content: center;
min-height: 100vh;
overflow-x: clip;
.column {
--___columnMargin: var(--columnGap);
......@@ -188,6 +190,10 @@ nav {
row-gap: var(--___columnMargin);
align-content: start;
&:hover {
z-index: 2;
}
&.-scrollable {
--___paddingIncrease: calc(var(--columnGap) / 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment