* Close #2598

- Add $card-radius variable
- Default to 0 (no braking change)
- Update variables/card.json

* Fix per @jgthms

- Could be a small breaking change
   since `overflow: hidden` is added to card
This commit is contained in:
Alexandre Paradis
2020-08-04 04:26:44 -04:00
committed by GitHub
parent bef6a73172
commit aed45337a4
2 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
$card-color: $text !default
$card-background-color: $scheme-main !default
$card-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
$card-radius: 0 !default
$card-header-background-color: transparent !default
$card-header-color: $text-strong !default
@@ -23,6 +24,8 @@ $card-media-margin: $block-spacing !default
color: $card-color
max-width: 100%
position: relative
border-radius: $card-radius
overflow: hidden
.card-header
background-color: $card-header-background-color