diff --git a/src/tabs/_tabs.scss b/src/tabs/_tabs.scss index 78d8c42d..84e2ce4f 100644 --- a/src/tabs/_tabs.scss +++ b/src/tabs/_tabs.scss @@ -9,10 +9,17 @@ } .wsk-tabs__tab-bar { - height: 48px; - padding: 0 0 0 56px; - margin: 0; - border-bottom: 1px solid $tab-border-color; + display : flex; + flex-direction : row; + flex-wrap : wrap; + justify-content : center; // ⇾ + align-content : space-between; // || + align-items : flex-start; // ↓ + + height : 48px; + padding : 0 0 0 0; + margin : 0; + border-bottom : 1px solid $tab-border-color; } .wsk-tabs__tab { diff --git a/src/tabs/demo.html b/src/tabs/demo.html index b6c962e0..a6f2925f 100644 --- a/src/tabs/demo.html +++ b/src/tabs/demo.html @@ -17,9 +17,9 @@
- Starks - Lannisters - Targaryens + Tab I + Tab II + Tab III