From c60c8d1a7492fbb5f5c6885b098fa4490a9cf7ad Mon Sep 17 00:00:00 2001 From: Wahyu Wiyoko Date: Sun, 28 Aug 2022 11:53:39 +0800 Subject: [PATCH] Improve details and summary --- simple.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/simple.css b/simple.css index 6e7bf26..02e9d5e 100644 --- a/simple.css +++ b/simple.css @@ -345,12 +345,15 @@ section:last-child { } details { - padding: 0.6rem 1rem 0.75rem 1rem; + padding: 0.7rem 1rem; } summary { cursor: pointer; font-weight: bold; + padding: 0.7rem 1rem; + margin: -0.7rem -1rem; + word-break: break-all; } details[open] summary + * {