Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion src/components/layout/table/Table.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,27 @@
height: 100%;
}

.table-wrapper.scrollable {
scrollbar-color: var(--layer200) transparent;
scrollbar-width: thin;
}

.table-wrapper.scrollable::-webkit-scrollbar {
background-color: transparent;
height: 5px;
width: 5px;
}

.table-wrapper.scrollable::-webkit-scrollbar-track {
background-color: transparent;
border-radius: 6px;
}

.table-wrapper.scrollable::-webkit-scrollbar-thumb {
background-color: var(--layer200);
border-radius: 6px;
}

@media all and (max-width: 600px) {
.table-wrapper {
max-width: 100%;
Expand Down Expand Up @@ -195,7 +216,7 @@

</style>

<div class='table-wrapper no-scrollbar'>
<div class='table-wrapper scrollable'>

<div class={`table ${minWidth ? 'min-width' :''}`} style={`--grid-template: ${gridTemplate};`}>

Expand Down