Skip to content

Commit

Permalink
fix(VMessages/VCounter): resolve layout jump caused by incorrect line…
Browse files Browse the repository at this point in the history
…-height
  • Loading branch information
johnleider committed Feb 3, 2020
1 parent 42f62eb commit 5c8be69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VCounter/VCounter.sass
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
flex: 0 1 auto
font-size: $counter-font-size
min-height: $counter-min-height
line-height: 1
line-height: $counter-line-height
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VCounter/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import '../../styles/styles.sass';

$counter-font-size: 12px !default;
$counter-line-height: $counter-font-size !default;
$counter-min-height: 12px !default;
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VMessages/VMessages.sass
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
text-align: right

&__message
line-height: normal
line-height: $messages-line-height
word-break: break-word
overflow-wrap: break-word
word-wrap: break-word
Expand Down
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VMessages/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import '../../styles/styles.sass';

$messages-font-size: 12px !default;
$messages-line-height: $messages-font-size !default;
$messages-min-height: 14px !default;

0 comments on commit 5c8be69

Please sign in to comment.