| | |
| | | position: relative; |
| | | width: calc(100vw - 235px); |
| | | height: 100%; |
| | | overflow-y: hidden; |
| | | // overflow-y: hidden; |
| | | background: #ffffff; |
| | | .ant-switch.big { |
| | | min-width: 60px; |
| | |
| | | top: 5px; |
| | | } |
| | | } |
| | | .setting:hover { |
| | | overflow-y: auto; |
| | | .setting { |
| | | overflow-y: scroll; |
| | | } |
| | | .setting::-webkit-scrollbar { |
| | | width: 7px; |
| | |
| | | border-radius: 5px; |
| | | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); |
| | | background: rgba(0, 0, 0, 0.13); |
| | | display: none; |
| | | } |
| | | .setting::-webkit-scrollbar-track { |
| | | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); |
| | |
| | | border: 1px solid rgba(0, 0, 0, 0.07); |
| | | background: rgba(0, 0, 0, 0); |
| | | } |
| | | .setting:hover::-webkit-scrollbar-thumb { |
| | | display: block; |
| | | } |
| | | .ant-spin { |
| | | position: absolute; |
| | | margin-left: calc(50vw - 22px); |