Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(tabs): remove inline css width if tabs should stretch #7157

Closed
wants to merge 1 commit into from

Commits on Feb 17, 2016

  1. fix(tabs): remove inline css width if tabs should stretch

    There is an issue when dynamically setting md-stretch-tabs. If shouldStretchTabs() evaluates to false at any time then a fixed width is added and never removed.
    
    This fix updates the logic in updatePagingWidth() so that the inline style
    is always either updated or cleared from `<md-pagination-wrapper>`
    depending on shoulStretchTabs().
    
    Add tests for md-pagination-wrapper.
    JSMike committed Feb 17, 2016
    Configuration menu
    Copy the full SHA
    86297da View commit details
    Browse the repository at this point in the history