diff --git a/source/_patterns/04-components/tabs/_tabs.scss b/source/_patterns/04-components/tabs/_tabs.scss index 86c1cb02ed412f3c4fca00ad4d1d9416429370e2..969b0363e35e739a820b042db23bada0f3cc0d7d 100644 --- a/source/_patterns/04-components/tabs/_tabs.scss +++ b/source/_patterns/04-components/tabs/_tabs.scss @@ -1,8 +1,17 @@ // @file // Styles for UW Tabs. -.uw-tabs{ +.uw-tabs { margin:gesso-spacing(sm) auto; + + &.catalog { + padding: 0 0.75rem; + + @include medium { + padding: 0; + } + } + width: 100%; .hide-js{ @@ -20,9 +29,11 @@ .uw-tab { @include flexbox(); - -ms-overflow-style: none; + @supports (scrollbar-width: none) { + scrollbar-width: none; + } + overflow-y: scroll; - scrollbar-width: none; @include medium { overflow-y: initial; @@ -31,6 +42,14 @@ html:not(.js) &{ display:none; } + + a { + white-space: nowrap; + } +} + +.uw-tab::-webkit-scrollbar { + display: none; } // button