image blocks show original image, code snippets do not break white space

This commit is contained in:
Konstantin 2024-03-23 17:44:41 +01:00
parent 7400412ddf
commit c116020b4e
2 changed files with 1 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{% load wagtailimages_tags %} {% load wagtailimages_tags %}
<figure> <figure>
{% image self.image fill-600x338 loading="lazy" %} {% image self.image original loading="lazy" %}
<figcaption>{{ self.caption }} - {{ self.attribution }}</figcaption> <figcaption>{{ self.caption }} - {{ self.attribution }}</figcaption>
</figure> </figure>

View file

@ -80,7 +80,6 @@
} }
code[class*="language-"], pre[class*="language-"] { code[class*="language-"], pre[class*="language-"] {
white-space: normal !important;
word-break: break-word !important; word-break: break-word !important;
} }
} }