Zeige Aufzählungszeichen und Nummern in Bild und Text sowie auf Shop- und Programmseiten
Der Grundstil setzt list-style zurück; die Container für formatierten Text setzen disc und decimal nun ausdrücklich. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
66f9275099
commit
67764c3e4f
9 files changed
+92
-2
No files matched your search
@@ -106,6 +106,21 @@ .prose ol {
|
||||
padding-left: 1.4rem;
|
||||
}
|
||||
|
||||
/*
|
||||
* Formatierter Text außerhalb von .prose (Shop- und Programmseiten, Bild und Text): Der Grundstil von Tailwind setzt
|
||||
* list-style zurück, ohne diese Regel erscheinen Aufzählungszeichen und Nummern nicht. Die Widgets Text, Überschrift,
|
||||
* Karten und Hinweis stehen in widgets.css, Bild und Text in components/lf-bild-text.css.
|
||||
*/
|
||||
:is(.shop-description, .lede, .rich-lists) ul,
|
||||
:is(.shop-description, .lede, .rich-lists) ol {
|
||||
margin: 0 0 var(--space-4);
|
||||
padding-inline-start: 1.4rem;
|
||||
}
|
||||
|
||||
:is(.shop-description, .lede, .rich-lists) ul { list-style: disc; }
|
||||
:is(.shop-description, .lede, .rich-lists) ol { list-style: decimal; }
|
||||
:is(.shop-description, .lede, .rich-lists) li > p { margin: 0; }
|
||||
|
||||
.prose li > p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user