Sfoglia il codice sorgente

change indicator and rail color

Yuki Takei 5 anni fa
parent
commit
a3bdd7f00e
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/client/js/components/StickyStretchableScroller.jsx

+ 2 - 0
src/client/js/components/StickyStretchableScroller.jsx

@@ -82,6 +82,8 @@ const StickyStretchableScroller = (props) => {
     logger.debug(`[${scrollTargetSelector}] contentsHeight`, contentsHeight);
 
     $(scrollTargetSelector).slimScroll({
+      color: '#666',
+      railColor: '#999',
       railVisible: true,
       position: 'right',
       height: viewHeight,