diff --git a/src/styles/margin.scss b/src/styles/margin.scss index 88d17f1a86..18510e0214 100644 --- a/src/styles/margin.scss +++ b/src/styles/margin.scss @@ -22,4 +22,10 @@ blockquote, figure, ol, p, ul, .box, .box--alert, .box--important { :is(ol, ul) & + & { margin-top: 1em; } + details > &:first-child { + margin-top: 1em; + } + details > &:last-child { + margin-bottom: 1em; + } }