[develop]: Remove scroll-y on body. Add max-width and truncate in subnav items.
This commit is contained in:
parent
1daea183e7
commit
43ed7e2679
|
@ -37,10 +37,6 @@
|
||||||
@inverse-base-link-hover-color: @global-inverse-color;
|
@inverse-base-link-hover-color: @global-inverse-color;
|
||||||
|
|
||||||
.hook-base-misc() {
|
.hook-base-misc() {
|
||||||
body {
|
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@media (min-width: @breakpoint-medium) {
|
@media (min-width: @breakpoint-medium) {
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
@subnav-item-font-size-small: @global-xsmall-font-size;
|
@subnav-item-font-size-small: @global-xsmall-font-size;
|
||||||
@subnav-item-line-height: 17px;
|
@subnav-item-line-height: 17px;
|
||||||
@subnav-item-font-weight: 400;
|
@subnav-item-font-weight: 400;
|
||||||
|
@subnav-item-max-width: @width-medium-width;
|
||||||
|
|
||||||
/* Pills */
|
/* Pills */
|
||||||
@subnav-pill-item-padding-vertical: 10px;
|
@subnav-pill-item-padding-vertical: 10px;
|
||||||
|
@ -39,6 +40,9 @@
|
||||||
font-size: @subnav-item-font-size;
|
font-size: @subnav-item-font-size;
|
||||||
font-weight: @subnav-item-font-weight;
|
font-weight: @subnav-item-font-weight;
|
||||||
line-height: @subnav-item-line-height;
|
line-height: @subnav-item-line-height;
|
||||||
|
max-width: @subnav-item-max-width;
|
||||||
|
|
||||||
|
& > *:extend(.uk-text-truncate) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hook-subnav-pill-item() {
|
.hook-subnav-pill-item() {
|
||||||
|
@ -93,4 +97,4 @@
|
||||||
padding: @subnav-pill-alt-item-padding-vertical-small @subnav-pill-alt-item-padding-horizontal-small;
|
padding: @subnav-pill-alt-item-padding-vertical-small @subnav-pill-alt-item-padding-horizontal-small;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue