mirror of
https://github.com/jgthms/bulma
synced 2026-03-23 05:19:35 -07:00
Fix media object
This commit is contained in:
@@ -2,31 +2,30 @@
|
||||
align-items: stretch
|
||||
box-shadow: 0 1px 2px rgba($black, 0.1)
|
||||
display: flex
|
||||
min-height: 40px
|
||||
|
||||
.card-header-title
|
||||
align-items: flex-start
|
||||
align-items: center
|
||||
color: $text-strong
|
||||
display: flex
|
||||
flex-grow: 1
|
||||
font-weight: bold
|
||||
padding: 10px
|
||||
font-weight: $weight-bold
|
||||
padding: 0.75rem
|
||||
|
||||
.card-header-icon
|
||||
align-items: center
|
||||
cursor: pointer
|
||||
display: flex
|
||||
justify-content: center
|
||||
width: 40px
|
||||
padding: 0.75rem
|
||||
|
||||
.card-image
|
||||
display: block
|
||||
position: relative
|
||||
|
||||
.card-content
|
||||
padding: 20px
|
||||
padding: 1.5rem
|
||||
.title + .subtitle
|
||||
margin-top: -20px
|
||||
margin-top: -1.5rem
|
||||
|
||||
.card-footer
|
||||
border-top: 1px solid $border
|
||||
@@ -37,8 +36,9 @@
|
||||
align-items: center
|
||||
display: flex
|
||||
flex-grow: 1
|
||||
flex-shrink: 0
|
||||
justify-content: center
|
||||
padding: 10px
|
||||
padding: 0.75rem
|
||||
&:not(:last-child)
|
||||
border-right: 1px solid $border
|
||||
|
||||
@@ -48,11 +48,8 @@
|
||||
color: $text
|
||||
max-width: 100%
|
||||
position: relative
|
||||
width: 300px
|
||||
.media:not(:last-child)
|
||||
margin-bottom: 10px
|
||||
margin-bottom: 0.75rem
|
||||
// Modifiers
|
||||
&.is-fullwidth
|
||||
width: 100%
|
||||
&.is-rounded
|
||||
border-radius: $radius-large
|
||||
|
||||
Reference in New Issue
Block a user