This commit is contained in:
Jeremy Thomas 2020-10-31 18:53:20 +00:00
parent b90d4921b3
commit 8f7c1a3858
2 changed files with 18 additions and 9 deletions

View File

@ -8,6 +8,10 @@
* Fix #3145 Dropdown content is bounded by a parent card * Fix #3145 Dropdown content is bounded by a parent card
* Fix #3089 Sub columns of a variable columns have weird gap * Fix #3089 Sub columns of a variable columns have weird gap
### Improvements
* Fix #3012 Add `$media-*` variables, set to `!default`
## 0.9.1 ## 0.9.1
### New features ### New features

View File

@ -1,26 +1,31 @@
$media-border-color: bulmaRgba($border, 0.5) !default $media-border-color: bulmaRgba($border, 0.5) !default
$media-spacing: 1rem $media-border-size: 1px !default
$media-spacing-large: 1.5rem $media-spacing: 1rem !default
$media-spacing-large: 1.5rem !default
$media-content-spacing: 0.75rem !default
$media-level-1-spacing: 0.75rem !default
$media-level-1-content-spacing: 0.5rem !default
$media-level-2-spacing: 0.5rem !default
.media .media
align-items: flex-start align-items: flex-start
display: flex display: flex
text-align: inherit text-align: inherit
.content:not(:last-child) .content:not(:last-child)
margin-bottom: 0.75rem margin-bottom: $media-content-spacing
.media .media
border-top: 1px solid $media-border-color border-top: $media-border-size solid $media-border-color
display: flex display: flex
padding-top: 0.75rem padding-top: $media-level-1-spacing
.content:not(:last-child), .content:not(:last-child),
.control:not(:last-child) .control:not(:last-child)
margin-bottom: 0.5rem margin-bottom: $media-level-1-content-spacing
.media .media
padding-top: 0.5rem padding-top: $media-level-2-spacing
& + .media & + .media
margin-top: 0.5rem margin-top: $media-level-2-spacing
& + .media & + .media
border-top: 1px solid $media-border-color border-top: $media-border-size solid $media-border-color
margin-top: $media-spacing margin-top: $media-spacing
padding-top: $media-spacing padding-top: $media-spacing
// Sizes // Sizes