From 88cfb93eb03652d10dcc0a123afa14e156f2b55d Mon Sep 17 00:00:00 2001 From: Meghea Iulian Date: Fri, 31 May 2024 12:15:57 +0300 Subject: [PATCH] feat(mini): adjust scroller style --- cosmoz-omnitable-styles.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/cosmoz-omnitable-styles.js b/cosmoz-omnitable-styles.js index 55c5fd63..0d80d009 100644 --- a/cosmoz-omnitable-styles.js +++ b/cosmoz-omnitable-styles.js @@ -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; + } `;