Skip to content

Commit 3da7031

Browse files
committed
Docs: Rendered playground results has rounded top when no visible swatch
1 parent a57c62d commit 3da7031

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

docs/src/scss/_playground.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ div.playground {
227227
display: none;
228228
}
229229

230+
.playground-results .color-command > .highlight:first-child code,
231+
.playground-results .color-command > .swatch-bar:empty + .highlight code {
232+
border-top-left-radius: convert.px2rem(9.6px);
233+
border-top-right-radius: convert.px2rem(9.6px);
234+
}
235+
230236
.playground-footer {
231237
display: flex;
232238
margin-top: convert.px2em(-1px);

0 commit comments

Comments
 (0)