Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
feat(style): implemented flex grow and shrink
Browse files Browse the repository at this point in the history
  • Loading branch information
rodgco committed Nov 17, 2020
1 parent 7cef40a commit 1591070
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions packages/svelte-materialify/src/styles/generic/_flex.scss
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,34 @@
}
}
}

.flex-grow-0 {
flex-grow: 0;
}

.flex-grow-1 {
flex-grow: 1;
}

.flex-shrink-0 {
flex-shrink: 0;
}

.flex-shrink-1 {
flex-shrink: 1;
}

@include create_breakpoints() using ($screen_size) {
.flex-#{$screen_size}-grow-0 {
flex-grow: 0;
}
.flex-#{$screen_size}-grow-1 {
flex-grow: 1;
}
.flex-#{$screen_size}-shrink-0 {
flex-shrink: 0;
}
.flex-#{$screen_size}-shrink-1 {
flex-shrink: 1;
}
}

0 comments on commit 1591070

Please sign in to comment.