فهرست منبع

fix: 滚动条不显示

wjc 6 روز پیش
والد
کامیت
bf6dbc9566
2فایلهای تغییر یافته به همراه13 افزوده شده و 17 حذف شده
  1. 13 3
      src/assets/css/theme.scss
  2. 0 14
      src/views/hui-jia/components/implementary/ing.vue

+ 13 - 3
src/assets/css/theme.scss

@@ -22,7 +22,7 @@ $gap-padding: halfW(8);
   --content-bg: #0c1425;
   --content-bg: #0c1425;
   --primary: #007bd3;
   --primary: #007bd3;
   --page-bg: #070d19;
   --page-bg: #070d19;
-  
+
   --radius: 4px;
   --radius: 4px;
 
 
   scrollbar-width: none; /* firefox */
   scrollbar-width: none; /* firefox */
@@ -31,8 +31,18 @@ $gap-padding: halfW(8);
   overflow-y: auto;
   overflow-y: auto;
 }
 }
 
 
-:root::-webkit-scrollbar {
-  display: none; /* Chrome Safari */
+:root {
+  ::-webkit-scrollbar {
+    display: none;
+  }
+
+  ::-webkit-scrollbar-track {
+    display: none;
+  }
+
+  ::-webkit-scrollbar-thumb {
+    display: none;
+  }
 }
 }
 
 
 .title-icon {
 .title-icon {

+ 0 - 14
src/views/hui-jia/components/implementary/ing.vue

@@ -104,20 +104,6 @@
 <style lang="scss" scoped>
 <style lang="scss" scoped>
   @import "@/assets/css/theme.scss";
   @import "@/assets/css/theme.scss";
 
 
-  :root {
-    ::-webkit-scrollbar {
-      width: 0;
-    }
-
-    ::-webkit-scrollbar-track {
-      width: 0;
-    }
-
-    ::-webkit-scrollbar-thumb {
-      width: 0;
-    }
-  }
-
   .implementing-container {
   .implementing-container {
     background: var(--content-bg);
     background: var(--content-bg);
     border-radius: var(--radius);
     border-radius: var(--radius);