Ver código fonte

fix 事件的滚动条

wenhongquan 2 anos atrás
pai
commit
5139fdba67
1 arquivos alterados com 15 adições e 0 exclusões
  1. 15 0
      src/views/IncidentDetail/index.scss

+ 15 - 0
src/views/IncidentDetail/index.scss

@@ -286,6 +286,21 @@
                         overflow: hidden;
                         text-overflow: ellipsis;
                         white-space: nowrap;
+                        >div {
+                            &::-webkit-scrollbar-thumb {
+                                background: #39d6fe;
+                                border-radius: 3px;
+                            }
+                            // &::-webkit-scrollbar-track {
+                            //     border-radius: 3px;
+                            //     background-color: #39d6fe;
+                            // }
+                            &::-webkit-scrollbar {
+                                width: 6px;
+                                background-color: rgba(0, 0, 0, 0);
+                                opacity: 1;
+                            }
+                        }
                     }
                 }
             }