33 lines
717 B
SCSS
33 lines
717 B
SCSS
.TabList {
|
|
position: sticky;
|
|
top: 0;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
font-size: 0.875rem;
|
|
flex-wrap: nowrap;
|
|
box-shadow: 0 2px 2px var(--color-light-shadow);
|
|
background-color: var(--color-background);
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
|
|
scrollbar-width: none;
|
|
scrollbar-color: rgba(0, 0, 0, 0);
|
|
|
|
&.big {
|
|
font-size: 1rem;
|
|
--border-radius-messages-small: 0;
|
|
}
|
|
|
|
&::-webkit-scrollbar {
|
|
height: 0;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
// `box-shadow` prevents repaint on macOS when hovering out of scrollable container
|
|
box-shadow: 0 0 1px rgba(255, 255, 255, 0.01);
|
|
}
|
|
}
|