Skip to content
Snippets Groups Projects
Commit 01baaf08 authored by Martin Leblanc's avatar Martin Leblanc
Browse files

ISTWCMS-5143: adding the tabs fix to 3.0.x

parents c52337ee 6cd1f22c
No related branches found
No related tags found
1 merge request!101Feature/istwcms 5143 ebremner tabs
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
.catalog-search-form { .catalog-search-form {
display:grid; display:grid;
grid-template-columns: auto 3rem; grid-template-columns: auto 3rem;
padding-left:0;
padding-right:0;
position: relative; position: relative;
.form-text { .form-text {
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
......
// @file // @file
// Styles for UW Tabs. // Styles for UW Tabs.
.uw-tabs{ .uw-tabs {
margin:gesso-spacing(sm) auto; margin:gesso-spacing(sm) auto;
&.catalog {
@include medium {
padding: 0;
}
}
width: 100%; width: 100%;
.hide-js{ .hide-js{
...@@ -20,9 +28,27 @@ ...@@ -20,9 +28,27 @@
.uw-tab { .uw-tab {
@include flexbox(); @include flexbox();
@supports (scrollbar-width: none) {
scrollbar-width: none;
}
overflow-y: scroll;
@include medium {
overflow-y: initial;
}
html:not(.js) &{ html:not(.js) &{
display:none; display:none;
} }
a {
white-space: nowrap;
}
}
.uw-tab::-webkit-scrollbar {
display: none;
} }
// button // button
...@@ -32,10 +58,10 @@ ...@@ -32,10 +58,10 @@
font-weight:inherit; font-weight:inherit;
margin:0 0 0 0.15rem; margin:0 0 0 0.15rem;
max-width: inherit; max-width: inherit;
padding: 0.5rem 1rem; padding: 1rem 2rem;
@include medium{ @include medium{
border-bottom: 0.4rem solid #fff; border-bottom: 0.4rem solid #fff;
font-size: gesso-font-size(1);
font-weight:inherit; font-weight:inherit;
margin:0 0 0 0.15rem; margin:0 0 0 0.15rem;
max-width: inherit; max-width: inherit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment