UI: adds styling for new github PR body details/summary (#12669)
https://github.com/discourse/onebox/pull/466
This commit is contained in:
parent
35e1e009fa
commit
2dc8bfd1ba
|
@ -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 {
|
[style*="--aspect-ratio"] > :first-child {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue