diff --git a/src/components/tabs/js/tabsController.js b/src/components/tabs/js/tabsController.js index 6f6effd9439..b246f3f69fd 100644 --- a/src/components/tabs/js/tabsController.js +++ b/src/components/tabs/js/tabsController.js @@ -545,7 +545,9 @@ function MdTabsController ($scope, $element, $window, $mdConstant, $mdTabInkRipp function updatePagingWidth() { var width = 1; angular.forEach(getElements().dummies, function (element) { - width += Math.ceil(element.offsetWidth); + // uses `getBoundingClientRect().width` rather than `offsetWidth` to include decimal values + // when calculating the total width + width += Math.ceil(element.getBoundingClientRect().width); }); angular.element(elements.paging).css('width', width + 'px'); }