Skip to content

Commit 3f06979

Browse files
authored
fix(VBtn): correct letter-spacing compensation for RTL (#21574)
1 parent 90ed073 commit 3f06979

File tree

1 file changed

+3
-0
lines changed
  • packages/vuetify/src/components/VBtn

1 file changed

+3
-0
lines changed

packages/vuetify/src/components/VBtn/VBtn.sass

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
vertical-align: $button-vertical-align
3030
flex-shrink: 0
3131

32+
.v-locale--is-rtl &
33+
text-indent: -1 * $button-text-letter-spacing
34+
3235
@at-root
3336
@include button-sizes()
3437
@include button-density('height', $button-density)

0 commit comments

Comments
 (0)