Skip to content

Commit

Permalink
fix(MdTabs): fix indicator (#1448)
Browse files Browse the repository at this point in the history
right: `calc(100% - ${buttonWidth + buttonLeft}px)` work weird with safari, replace it with `width`
way to set indicator position

fix #1304
  • Loading branch information
VdustR authored and marcosmoura committed Jan 26, 2018
1 parent 01dfdfb commit b33d0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MdTabs/MdTabs.vue
Expand Up @@ -208,7 +208,7 @@
this.indicatorStyles = {
left: `${buttonLeft}px`,
right: `calc(100% - ${buttonWidth + buttonLeft}px)`
width: `${buttonWidth}px`
}
}
})
Expand Down

0 comments on commit b33d0d6

Please sign in to comment.