From aaad788df874b27cea27ef46f06d0e34235bc209 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 12 Nov 2024 23:28:59 +0100 Subject: [PATCH] fix --- src/styles.scss | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/styles.scss b/src/styles.scss index 0f1951860..5ae3df3a3 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -149,11 +149,13 @@ mat-icon.size-45 { pre code.hljs { display: block; overflow-x: auto; - padding: 1em + padding: 1em; + } code.hljs { - padding: 3px 5px + padding: 3px 5px; + word-wrap: break-word; } @@ -263,13 +265,16 @@ pre.hljs code { } .code-line { padding-left: 7px; + word-wrap: break-word; + word-break: break-all; + white-space: break-spaces; } .line-number { min-width: 22px; text-align: left; width: 1%; color: #ccc; - border-right: 1px solid #16bf6e + border-right: 1px solid #16bf6e; } }