From 24eaf9ff1f00f62397c72474b398eb74aef56f66 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Wed, 8 Oct 2025 16:52:22 -0500 Subject: [PATCH] Make lists in public description less weird --- app/assets/stylesheets/cards.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/cards.css b/app/assets/stylesheets/cards.css index 24db77061..e9eb53de6 100644 --- a/app/assets/stylesheets/cards.css +++ b/app/assets/stylesheets/cards.css @@ -486,12 +486,13 @@ .card__collection-public-description { max-inline-size: 66ch; - p:first-child { - margin-block-start: 0; - } + > *:first-child { margin-block-start: 0; } + > *:last-child { margin-block-end: 0; } - p:last-child { - margin-block-end: 0; + ul, ol { + inline-size: fit-content; + margin-inline: auto; + text-align: start; } } }