From 16ac9c89735c68d2070db745063fb46db11e8d55 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Wed, 13 Jan 2021 13:42:45 +0100 Subject: [PATCH] Improve code style --- static/styles.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/styles.css b/static/styles.css index 92372a3..a08e984 100644 --- a/static/styles.css +++ b/static/styles.css @@ -203,11 +203,14 @@ pre { white-space: pre-wrap; } code { - display: block; - padding: 8px; + padding: 2px; background-color: #eee; border: solid 1px #ddd; user-select: all; +} +pre code { + display: block; + padding: 8px; word-break: break-word; /* word-break: break-all; */ }