diff options
| author | Haishan <[email protected]> | 2019-01-13 23:37:22 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2019-01-13 23:37:22 +0800 |
| commit | 29048908df7cb4be642880f9fedba8766dbefa17 (patch) | |
| tree | 555980f680847a33ac634769edc945e9a3178e5e /src/components/Logs.module.scss | |
| parent | fa7e03b9265ea18278ed785a2f48231722dd28d8 (diff) | |
perf(logs): optimize with windowed scrolling
Diffstat (limited to 'src/components/Logs.module.scss')
| -rw-r--r-- | src/components/Logs.module.scss | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/components/Logs.module.scss b/src/components/Logs.module.scss index adc6f0f..4351bcb 100644 --- a/src/components/Logs.module.scss +++ b/src/components/Logs.module.scss @@ -40,10 +40,9 @@ $heightHeader: 76px; ////////// -.logUl { +.logsWrapper { margin: 0; padding: 0; - list-style: none; color: var(--color-text); :global { @@ -56,14 +55,12 @@ $heightHeader: 76px; } } -///////// - -.logs { +.log { padding: 10px 40px; - height: calc(100vh - #{$heightHeader}); - overflow: scroll; } +///////// + .logPlaceholder { height: calc(100vh - #{$heightHeader}); display: flex; |
