Explorar o código

fix 事件的滚动条

wenhongquan %!s(int64=2) %!d(string=hai) anos
pai
achega
5139fdba67
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  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;
+                            }
+                        }
                     }
                 }
             }