image blocks show original image, code snippets do not break white space
This commit is contained in:
parent
7400412ddf
commit
c116020b4e
2 changed files with 1 additions and 2 deletions
|
@ -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>
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue