node_modules/bulma/sass/components/media.sass in vitrina-0.2.8 vs node_modules/bulma/sass/components/media.sass in vitrina-0.3.0

- old
+ new

@@ -1,11 +1,13 @@ $media-border-color: bulmaRgba($border, 0.5) !default +$media-spacing: 1rem +$media-spacing-large: 1.5rem .media align-items: flex-start display: flex - text-align: left + text-align: inherit .content:not(:last-child) margin-bottom: 0.75rem .media border-top: 1px solid $media-border-color display: flex @@ -17,34 +19,34 @@ padding-top: 0.5rem & + .media margin-top: 0.5rem & + .media border-top: 1px solid $media-border-color - margin-top: 1rem - padding-top: 1rem + margin-top: $media-spacing + padding-top: $media-spacing // Sizes &.is-large & + .media - margin-top: 1.5rem - padding-top: 1.5rem + margin-top: $media-spacing-large + padding-top: $media-spacing-large .media-left, .media-right flex-basis: auto flex-grow: 0 flex-shrink: 0 .media-left - margin-right: 1rem + +ltr-property("margin", $media-spacing) .media-right - margin-left: 1rem + +ltr-property("margin", $media-spacing, false) .media-content flex-basis: auto flex-grow: 1 flex-shrink: 1 - text-align: left + text-align: inherit +mobile .media-content overflow-x: auto