diff options
author | 2018-06-02 15:48:11 +0100 | |
---|---|---|
committer | 2018-06-02 15:48:11 +0100 | |
commit | 7ac10880a209cdaf4d6de63d58490710c922fded (patch) | |
tree | e9ea40672cc9f8f143abda9f8f26a7d58f6c15d8 /static | |
parent | Allow nav dropdown vertical scrolling (diff) |
[Wiki] Codeblocks should no longer be way too wide on mobile
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css index a64687ba..22eb2285 100644 --- a/static/style.css +++ b/static/style.css @@ -248,6 +248,16 @@ textarea.fira-code { border: 1px solid rgba(0, 0, 0, 0.11); } +#doc-view div { + width: calc(100% - 6rem); +} + +@media (max-width: 639px) { + #doc-view div { + width: calc(100% - 1rem); + } +} + .code { overflow-x: auto; }
\ No newline at end of file |