summaryrefslogtreecommitdiff
path: root/src/components/Logs.module.scss
diff options
context:
space:
mode:
authorHaishan <[email protected]>2019-01-13 23:37:22 +0800
committerHaishan <[email protected]>2019-01-13 23:37:22 +0800
commit29048908df7cb4be642880f9fedba8766dbefa17 (patch)
tree555980f680847a33ac634769edc945e9a3178e5e /src/components/Logs.module.scss
parentfa7e03b9265ea18278ed785a2f48231722dd28d8 (diff)
perf(logs): optimize with windowed scrolling
Diffstat (limited to 'src/components/Logs.module.scss')
-rw-r--r--src/components/Logs.module.scss11
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;