feat: start of scroller

This commit is contained in:
TrèsAbhi committed 2026-02-01 12:24:55 -06:00
1 parent 015d457d23
commit ddb869e767
4 files changed
+100 -5

No files matched your search

@@ -0,0 +1,42 @@
.scroller {
display: flex;
flex-direction: column;
.content {
overflow: auto;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}
}
.bar-wrapper {
padding: var(--space-1);
background-color: blue;
.bar-container {
background-color: red;
height: 10px;
position: relative;
.bar {
height: 100%;
min-width: min(100%, var(--space-6));
position: absolute;
background-color: green;
cursor: grab;
&:active {
cursor: grabbing;
}
}
}
}
}