fix hyphenation in imprint

This commit is contained in:
Shannon Sterz 2024-12-31 10:16:22 +01:00
parent a4a40ec964
commit 00da1376ca

View file

@ -208,7 +208,7 @@
list-style-type: ''; list-style-type: '';
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: baseline;
} }
details > summary > span { details > summary > span {
@ -242,6 +242,10 @@
details > *:not(summary) { details > *:not(summary) {
background-color: var(--sht-background); background-color: var(--sht-background);
overflow-wrap: anywhere;
word-break: normal;
text-align: justify;
hyphens: auto;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
@ -279,7 +283,7 @@
<footer> <footer>
<div> <div>
<p>Have a lovely day 💖.</p> <p>Have a lovely day 💖.</p>
<details> <details lang="de">
<summary><span>Imprint/Impressum</span></summary> <summary><span>Imprint/Impressum</span></summary>
<h2> <h2>
Informationen und Offenlegung gemäß §5 (1) ECG, § 25 Informationen und Offenlegung gemäß §5 (1) ECG, § 25