From 9e5d3306cfb6026001cd457d40923d9a90211157 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 29 Mar 2022 22:27:22 +0100 Subject: [PATCH] Style tweak for API rendering 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 b1200f94..f7548ef1 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -259,10 +259,13 @@ footer { margin: 1rem 0 3rem 0; details { - summary { padding: .5rem 0; list-style-position: outside; + + p { + max-width: 80%; + } } } @@ -305,10 +308,6 @@ footer { margin-bottom: 1.5rem; } - p { - max-width: 80%; - } - p code, table code { background-color: $white; }