From c116020b4e9fde6de2a4ebeff083fe5b423d4992 Mon Sep 17 00:00:00 2001 From: Konstantin Kostov Date: Sat, 23 Mar 2024 17:44:41 +0100 Subject: [PATCH] image blocks show original image, code snippets do not break white space --- base/templates/base/blocks/image_block.html | 2 +- theme/static_src/src/styles.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/base/templates/base/blocks/image_block.html b/base/templates/base/blocks/image_block.html index 5355897..4dc1729 100644 --- a/base/templates/base/blocks/image_block.html +++ b/base/templates/base/blocks/image_block.html @@ -1,6 +1,6 @@ {% load wagtailimages_tags %}
- {% image self.image fill-600x338 loading="lazy" %} + {% image self.image original loading="lazy" %}
{{ self.caption }} - {{ self.attribution }}
\ No newline at end of file diff --git a/theme/static_src/src/styles.css b/theme/static_src/src/styles.css index 7f3b4e1..e214abe 100644 --- a/theme/static_src/src/styles.css +++ b/theme/static_src/src/styles.css @@ -80,7 +80,6 @@ } code[class*="language-"], pre[class*="language-"] { - white-space: normal !important; word-break: break-word !important; } }