Commit 230b36ec authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '34338-details-element' into 'master'

Add padding to details element in markdown

Closes #34338

See merge request gitlab-org/gitlab-ce!32716
parents d7df3aa0 3b01589c
...@@ -67,6 +67,18 @@ ...@@ -67,6 +67,18 @@
max-height: calc(100vh - 100px); max-height: calc(100vh - 100px);
} }
details {
margin-bottom: $gl-padding;
summary {
margin-bottom: $gl-padding;
}
*:first-child:not(summary) {
margin-top: $gl-padding;
}
}
// Single code lines should wrap // Single code lines should wrap
code { code {
font-family: $monospace-font; font-family: $monospace-font;
......
---
title: Add some padding to details markdown element
merge_request: 32716
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment