UI: adds styling for new github PR body details/summary (#12669)

https://github.com/discourse/onebox/pull/466
This commit is contained in:
Joffrey JAFFEUX 2021-04-12 10:45:16 +02:00 committed by GitHub
parent 35e1e009fa
commit 2dc8bfd1ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -161,6 +161,20 @@ aside.onebox {
}
}
details.onebox-details {
summary.onebox-details-summary {
display: flex;
h4 {
display: inline-block;
}
}
p.onebox-details-body {
margin: 0 0 0.5em 0;
padding: 0.5em;
background-color: var(--blend-primary-secondary-5);
}
}
[style*="--aspect-ratio"] > :first-child {
width: 100%;
}