From b33d0d6a8c59f4c8d310276284d34fa36746d10f Mon Sep 17 00:00:00 2001 From: Vi Pro Date: Sat, 27 Jan 2018 05:39:03 +0800 Subject: [PATCH] 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 --- src/components/MdTabs/MdTabs.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MdTabs/MdTabs.vue b/src/components/MdTabs/MdTabs.vue index 8cb3e99e7..859b7102c 100644 --- a/src/components/MdTabs/MdTabs.vue +++ b/src/components/MdTabs/MdTabs.vue @@ -208,7 +208,7 @@ this.indicatorStyles = { left: `${buttonLeft}px`, - right: `calc(100% - ${buttonWidth + buttonLeft}px)` + width: `${buttonWidth}px` } } })