Skip to content

Commit

Permalink
feat(mini): adjust scroller style
Browse files Browse the repository at this point in the history
  • Loading branch information
megheaiulian authored and cristinecula committed May 31, 2024
1 parent a85dd4d commit 9f977ec
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cosmoz-omnitable-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,4 +557,22 @@ export default css`
:host([mini]) .header {
margin: 0 8px;
}
:host([mini]) .tableContent-scroller::-webkit-scrollbar {
width: 4px;
}
:host([mini]) .tableContent-scroller::-webkit-scrollbar-track {
background: transparent;
}
:host([mini]) .tableContent-scroller::-webkit-scrollbar-thumb {
background: transparent;
}
:host([mini]) .tableContent-scroller:hover::-webkit-scrollbar-thumb {
background: var(--cosmoz-omnitable-mini-scrollbar-thumb-bg, #aaa);
}
:host([mini]) .tableContent-scroller::-webkit-scrollbar-button:decrement,
:host([mini]) .tableContent-scroller::-webkit-scrollbar-button:increment {
width: 0px;
}
`;

0 comments on commit 9f977ec

Please sign in to comment.