Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jrutheiser/hugo-lithium-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Rutheiser <jonathan.rutheiser@gmail.com>2019-08-25 20:46:09 +0300
committerJonathan Rutheiser <jonathan.rutheiser@gmail.com>2019-08-25 22:48:58 +0300
commit42f90e3432323b8dcb41625a0d25501a19696987 (patch)
tree0d7868b3e9dec524c3d8f11f067e5139fd5d7f5d
parentfba4893aaff5a8d65631927a1b166e58a53f36ef (diff)
Fix overflowing code blocks
-rw-r--r--static/css/main.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css
index 36514a2..77f546b 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -27,6 +27,12 @@ a {
outline: none;
}
+code {
+ max-width: 100%;
+ overflow: auto;
+ display: block;
+}
+
img {
max-width: 100%;
height: auto;