Auto merge of #86589 - JohnTitor:add-triangle-to-summary, r=jsha
Show triangle on the "Details" disclosure element in all cases Re-submission of #82805, fixes the style issue by applying the same margin as `<p>`. <details><summary>Before</summary>   </details> <details><summary>After</summary>   </details> r? `@GuillaumeGomez`
This commit is contained in:
commit
3e9d7ecf78
1 changed files with 6 additions and 4 deletions
|
|
@ -200,6 +200,12 @@ summary {
|
|||
outline: none;
|
||||
}
|
||||
|
||||
/* FIXME: Remove after normalize.css is either upgraded or removed (#86629) */
|
||||
details:not(.rustdoc-toggle) summary {
|
||||
margin-bottom: .6em;
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
code, pre, a.test-arrow {
|
||||
font-family: "Source Code Pro", monospace;
|
||||
}
|
||||
|
|
@ -897,10 +903,6 @@ body.blur > :not(#help) {
|
|||
display: inline;
|
||||
}
|
||||
|
||||
.stab summary {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
.stab .emoji {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue