Skip to content

Commit

Permalink
Merge pull request #33 from klippa-app/fix-gaps-causing-overflows
Browse files Browse the repository at this point in the history
Implement percentage widths with just flex
  • Loading branch information
wouter-willems authored Sep 6, 2023
2 parents 37fc2ac + 976b129 commit f10096a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion projects/klippa/ngx-enhancy-forms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@klippa/ngx-enhancy-forms",
"version": "14.7.5",
"version": "14.7.6",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
flex: 0 0 auto;
padding-right: $spacing-medium;
&.percentageSpacing {
flex: 0 0 40%;
flex: 40;
&.d30-70 {
flex-basis: 30%;
flex: 30;
}
&.d34-66 {
flex-basis: 34%;
flex: 34;
}
}
color: $default-dark;
Expand All @@ -67,12 +67,12 @@
.inputContainer {
flex: 1;
&.percentageSpacing {
flex: 0 0 60%;
flex: 60;
&.d30-70 {
flex-basis: 70%;
flex: 70;
}
&.d34-66 {
flex-basis: 66%;
flex: 66;
}
}
}
Expand Down

0 comments on commit f10096a

Please sign in to comment.