diff options
author | WayJam So <imsuwj@gmail.com> | 2020-05-16 15:52:44 +0300 |
---|---|---|
committer | WayJam So <imsuwj@gmail.com> | 2020-05-16 15:52:44 +0300 |
commit | 462e2890ea8a782576c98181ebe4e5c987f527a2 (patch) | |
tree | 8f2c0492f40353d36e2d8253569aad231e45831a /assets | |
parent | ce105d62c5c45dbe7a94a134e23749effe3be3cc (diff) |
fix: content codeblock fontsize
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/main.scss | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/assets/css/main.scss b/assets/css/main.scss index 18e9543..4eb6f6f 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -600,6 +600,7 @@ body { display: block; padding: 0.6em 1em; margin: 0.8em 0; + font-size: 0.9em; word-break: break-all; word-wrap: break-word; @@ -609,7 +610,6 @@ body { white-space: pre-wrap; background-color: transparent; border-radius: 0; - font-size: 0.9em; min-width: 300px; } } @@ -803,13 +803,14 @@ body { } } } + & > .chroma .lntd:first-child { width: 10px; } + pre { border-top: 1px solid #d1d7dc; overflow: auto; - font-size: 0.9em; min-width: 300px; } |