Add flex shrink

This commit is contained in:
Jeremy Thomas
2016-09-10 21:52:27 +01:00
parent 895202e48f
commit 6d9a51cf48
7 changed files with 18 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
.media-content
flex-grow: 1
flex-shrink: 0
text-align: left
.media

View File

@@ -48,6 +48,7 @@
.modal-card-title
color: $text-strong
flex-grow: 1
flex-shrink: 0
font-size: $size-4
line-height: 1
@@ -59,6 +60,7 @@
.modal-card-body
flex-grow: 1
flex-shrink: 0
overflow: auto
padding: 20px

View File

@@ -13,6 +13,7 @@
padding: 10px
a
flex-grow: 1
flex-shrink: 0
img
max-height: 24px
.button + .button
@@ -72,6 +73,7 @@ a.nav-item
display: flex
flex-basis: 0
flex-grow: 1
flex-shrink: 0
justify-content: flex-start
overflow: hidden
overflow-x: auto
@@ -91,6 +93,7 @@ a.nav-item
display: flex
flex-basis: 0
flex-grow: 1
flex-shrink: 0
justify-content: flex-end
// Main container

View File

@@ -17,6 +17,7 @@
align-items: center
display: flex
flex-grow: 1
flex-shrink: 0
justify-content: center
// Responsiveness
+mobile
@@ -27,6 +28,7 @@
margin-left: 10px
li
flex-grow: 1
flex-shrink: 0
ul
margin-top: 10px
+tablet

View File

@@ -31,6 +31,7 @@
border-bottom: 1px solid $border
display: flex
flex-grow: 1
flex-shrink: 0
justify-content: flex-start
&.is-left
padding-right: 10px
@@ -73,6 +74,7 @@
&.is-fullwidth
li
flex-grow: 1
flex-shrink: 0
&.is-toggle
a
border: 1px solid $border