Skip to content

Commit b33d0d6

Browse files
VdustRmarcosmoura
authored andcommitted
fix(MdTabs): fix indicator (#1448)
right: `calc(100% - ${buttonWidth + buttonLeft}px)` work weird with safari, replace it with `width` way to set indicator position fix #1304
1 parent 01dfdfb commit b33d0d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MdTabs/MdTabs.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
209209
this.indicatorStyles = {
210210
left: `${buttonLeft}px`,
211-
right: `calc(100% - ${buttonWidth + buttonLeft}px)`
211+
width: `${buttonWidth}px`
212212
}
213213
}
214214
})

0 commit comments

Comments
 (0)