Round the top corners on .panel-block:first-child

When there is no `.panel-heading` present, round the top corners of the first `.panel-block`.
This commit is contained in:
Dan Gowans 2021-06-08 08:58:27 -04:00 committed by GitHub
parent cc0c53483f
commit 8bcda0c658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,6 +102,9 @@ $panel-colors: $colors !default
color: $panel-block-active-color color: $panel-block-active-color
.panel-icon .panel-icon
color: $panel-block-active-icon-color color: $panel-block-active-icon-color
&:first-child
border-top-left-radius: $panel-radius
border-top-right-radius: $panel-radius
&:last-child &:last-child
border-bottom-left-radius: $panel-radius border-bottom-left-radius: $panel-radius
border-bottom-right-radius: $panel-radius border-bottom-right-radius: $panel-radius