diff options
| author | MetaCubeX <[email protected]> | 2022-05-29 23:32:25 +0800 |
|---|---|---|
| committer | MetaCubeX <[email protected]> | 2022-05-29 23:32:25 +0800 |
| commit | 4dc818c8dbfac1182888d418399410fd95b07a95 (patch) | |
| tree | 91cf6cffd300dbb628688b4fad76835c545af3b7 /src/components/Logs.module.scss | |
| parent | 419ea7de65ffb6f6c560adb03f71f04801bebac2 (diff) | |
fix: scroll shake on log page
Diffstat (limited to 'src/components/Logs.module.scss')
| -rw-r--r-- | src/components/Logs.module.scss | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/src/components/Logs.module.scss b/src/components/Logs.module.scss index d2a4ba3..d8bfce2 100644 --- a/src/components/Logs.module.scss +++ b/src/components/Logs.module.scss @@ -1,16 +1,8 @@ .logMeta { - display: flex; - align-items: center; - flex-wrap: wrap; - font-size: 0.9em; -} - -.logCard { - margin-bottom: 15px; -} + font-size: 0.8em; + } .logType { - color: #eee; flex-shrink: 0; text-align: center; width: 66px; @@ -21,20 +13,16 @@ .logTime { flex-shrink: 0; - color: #999; - font-size: 11px; + color: #fb923c; } .logText { flex-shrink: 0; - display: flex; - font-family: 'Roboto Mono', Menlo, monospace; + color: #888; align-items: center; padding: 8px 0; /* force wrap */ width: 100%; - white-space: pre; - overflow: auto; } /*******************/ @@ -48,11 +36,11 @@ :global { .log { - padding: 10px 40px; - background: var(--color-background); + margin-bottom: 10px; + //background: var(--color-background); } .log.even { - background: var(--color-background); + //background: var(--color-background); } } } |
