From 082f4233322c523d7939314c2acbfaf051ea1ec8 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Mon, 13 May 2024 15:54:46 +0800 Subject: [PATCH] add padding to the details if not set as the last element --- styles/layouts/all.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/styles/layouts/all.css b/styles/layouts/all.css index 21a8fbc..06f528f 100644 --- a/styles/layouts/all.css +++ b/styles/layouts/all.css @@ -89,5 +89,9 @@ body[role="window"] { } summary + details { - padding-top: 1em; + padding-top: 1em; +} + +summary + details:not(:last-child) { + padding-bottom: 1em; } \ No newline at end of file