瀏覽代碼

add custom scrollbar

Mahbod 1 年之前
父節點
當前提交
3e833fca9b
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      web/assets/css/custom.css

+ 14 - 0
web/assets/css/custom.css

@@ -404,4 +404,18 @@
 
 .ant-dark .ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow {
     border-color: transparent #2e3b52 #2e3b52 transparent;
+}
+
+::-webkit-scrollbar {
+    width: 10px;
+}
+
+::-webkit-scrollbar-thumb {
+    background: #11141a57;
+    border-radius: 20px;
+}
+
+::-webkit-scrollbar-thumb:hover {
+    background: #11141a66;
+    border-radius: 20px;
 }