Skip to content

Commit

Permalink
materia: set form-floating-height, #1298
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Mar 9, 2024
1 parent 279b456 commit 0b64b98
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 16 deletions.
2 changes: 2 additions & 0 deletions dist/materia/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ $input-height: calc($line-height-base * 1em + $input-pa
$input-height-sm: $line-height-base * 1em !default;
$input-height-lg: calc($line-height-base * 1em + $input-padding-y-lg * 2) !default;

$form-floating-height: 3.5rem !default;

// Navs

$nav-link-disabled-color: $gray-500 !default;
Expand Down
4 changes: 2 additions & 2 deletions dist/materia/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -2612,8 +2612,8 @@ textarea.form-control-lg {
.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
height: calc(3.5rem + calc(0 * 2));
min-height: calc(3.5rem + calc(0 * 2));
height: 3.5rem;
min-height: 3.5rem;
line-height: 1.25;
}
.form-floating > label {
Expand Down
2 changes: 1 addition & 1 deletion dist/materia/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/materia/bootstrap.min.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/materia/bootstrap.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -2610,8 +2610,8 @@ textarea.form-control-lg {
.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
height: calc(3.5rem + calc(0 * 2));
min-height: calc(3.5rem + calc(0 * 2));
height: 3.5rem;
min-height: 3.5rem;
line-height: 1.25;
}
.form-floating > label {
Expand Down
2 changes: 1 addition & 1 deletion dist/materia/bootstrap.rtl.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/materia/bootstrap.rtl.min.css.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/5/materia/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ $input-height: calc($line-height-base * 1em + $input-pa
$input-height-sm: $line-height-base * 1em !default;
$input-height-lg: calc($line-height-base * 1em + $input-padding-y-lg * 2) !default;

$form-floating-height: 3.5rem !default;

// Navs

$nav-link-disabled-color: $gray-500 !default;
Expand Down
4 changes: 2 additions & 2 deletions docs/5/materia/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -2612,8 +2612,8 @@ textarea.form-control-lg {
.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
height: calc(3.5rem + calc(0 * 2));
min-height: calc(3.5rem + calc(0 * 2));
height: 3.5rem;
min-height: 3.5rem;
line-height: 1.25;
}
.form-floating > label {
Expand Down
2 changes: 1 addition & 1 deletion docs/5/materia/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/5/materia/bootstrap.min.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/5/materia/bootstrap.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -2610,8 +2610,8 @@ textarea.form-control-lg {
.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
height: calc(3.5rem + calc(0 * 2));
min-height: calc(3.5rem + calc(0 * 2));
height: 3.5rem;
min-height: 3.5rem;
line-height: 1.25;
}
.form-floating > label {
Expand Down
2 changes: 1 addition & 1 deletion docs/5/materia/bootstrap.rtl.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/5/materia/bootstrap.rtl.min.css.map

Large diffs are not rendered by default.

0 comments on commit 0b64b98

Please sign in to comment.