From 03cdea4b57320926a6da73ad3b3f6c7f4fd0a7c2 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Thu, 31 Mar 2022 10:33:53 +0100 Subject: [PATCH] Style tweak for API rendering (#1012) Tighter bound on the `max-width` property for paragraphs inside rendered APIs. AFAICT it's only meant to apply to the summary. --- assets/scss/custom.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 25a11c81..35b4e3dc 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -267,10 +267,13 @@ footer { margin: 1rem 0 3rem 0; details { - summary { padding: .5rem 0; list-style-position: outside; + + p { + max-width: 80%; + } } } @@ -313,10 +316,6 @@ footer { margin-bottom: 1.5rem; } - p { - max-width: 80%; - } - p code, table code { background-color: $white; }