Skip to content

Commit

Permalink
feat(VInput): add new $input-flex sass variable
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Feb 3, 2024
1 parent 0e94ff4 commit 0f1d43a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VInput/VInput.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

.v-input
display: grid
flex: 1 1 auto
flex: $input-flex
font-size: $input-font-size
font-weight: $input-font-weight
line-height: $input-line-height
Expand Down
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VInput/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// CONTROL
$input-density: ('default': 0, 'comfortable': -2, 'compact': -4) !default;
$input-control-height: 56px !default;
$input-flex: 1 1 auto !default;
$input-font-size: tools.map-deep-get(settings.$typography, 'body-1', 'size') !default;
$input-font-weight: tools.map-deep-get(settings.$typography, 'body-1', 'weight') !default;
$input-line-height: 1.5 !default;
Expand Down

0 comments on commit 0f1d43a

Please sign in to comment.