瀏覽代碼

change indicator and rail color

Yuki Takei 5 年之前
父節點
當前提交
a3bdd7f00e
共有 1 個文件被更改,包括 2 次插入0 次删除
  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,