Fix margin on tabs and subnav in slider-tabs. Remove padding: 0 from subnav-alt
This commit is contained in:
parent
78c51f00f7
commit
0dd2be3ea5
|
@ -6,7 +6,11 @@
|
||||||
margin-left: -@tab-margin-horizontal;
|
margin-left: -@tab-margin-horizontal;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
& .uk-subnav {
|
||||||
|
margin-left: -@subnav-margin-horizontal;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:has(.uk-tab)::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
|
@ -54,10 +54,6 @@
|
||||||
.hook-subnav-misc() {
|
.hook-subnav-misc() {
|
||||||
.uk-subnav.uk-subnav-pill-alt {
|
.uk-subnav.uk-subnav-pill-alt {
|
||||||
|
|
||||||
& > :first-child {
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
& > * > :first-child {
|
& > * > :first-child {
|
||||||
padding: @subnav-pill-alt-item-padding-vertical @subnav-pill-alt-item-padding-horizontal;
|
padding: @subnav-pill-alt-item-padding-vertical @subnav-pill-alt-item-padding-horizontal;
|
||||||
color: @subnav-pill-alt-item-color;
|
color: @subnav-pill-alt-item-color;
|
||||||
|
|
Loading…
Reference in New Issue