node_modules/bulma/sass/components/level.sass in bulma-clean-theme-0.5.1 vs node_modules/bulma/sass/components/level.sass in bulma-clean-theme-0.5.2
- old
+ new
@@ -1,5 +1,7 @@
+$level-item-spacing: ($block-spacing / 2) !default
+
.level
@extend %block
align-items: center
justify-content: space-between
code
@@ -16,11 +18,11 @@
.level-left + .level-right
margin-top: 0
.level-item
&:not(:last-child)
margin-bottom: 0
- margin-right: 0.75rem
+ margin-right: $level-item-spacing
&:not(.is-narrow)
flex-grow: 1
// Responsiveness
+tablet
display: flex
@@ -39,11 +41,11 @@
.subtitle
margin-bottom: 0
// Responsiveness
+mobile
&:not(:last-child)
- margin-bottom: 0.75rem
+ margin-bottom: $level-item-spacing
.level-left,
.level-right
flex-basis: auto
flex-grow: 0
@@ -53,10 +55,10 @@
&.is-flexible
flex-grow: 1
// Responsiveness
+tablet
&:not(:last-child)
- margin-right: 0.75rem
+ margin-right: $level-item-spacing
.level-left
align-items: center
justify-content: flex-start
// Responsiveness