Skip to content

Commit 426dd02

Browse files
committed
fix(VBtn): normalize width behavior
ensure flex can't squish buttons fixes #8699
1 parent fbc8ed8 commit 426dd02

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,13 @@
199199
.v-icon
200200
height: #{$size}px
201201
font-size: #{$size}px
202-
width: #{$size}px
202+
min-width: #{$size}px
203203

204204
.v-btn--icon
205205
@each $name, $size in $btn-sizes
206206
&.v-size--#{$name}
207207
height: #{$size}px
208-
width: #{$size}px
208+
min-width: #{$size}px
209209

210210
.v-btn--fab
211211
&.v-btn--contained
@@ -224,7 +224,7 @@
224224
@each $name, $size in $fab-sizes
225225
&.v-size--#{$name}
226226
height: #{$size}px
227-
width: #{$size}px
227+
min-width: #{$size}px
228228

229229
&.v-btn--absolute
230230
&.v-btn--bottom

0 commit comments

Comments
 (0)