[develop]: Remove scroll-y on body. Add max-width and truncate in subnav items.

This commit is contained in:
Konstantinos Triantafyllou 2024-04-05 20:11:12 +03:00
parent 1daea183e7
commit 43ed7e2679
2 changed files with 5 additions and 5 deletions

View File

@ -37,10 +37,6 @@
@inverse-base-link-hover-color: @global-inverse-color;
.hook-base-misc() {
body {
overflow-y: scroll;
}
@media (min-width: @breakpoint-medium) {

View File

@ -2,6 +2,7 @@
@subnav-item-font-size-small: @global-xsmall-font-size;
@subnav-item-line-height: 17px;
@subnav-item-font-weight: 400;
@subnav-item-max-width: @width-medium-width;
/* Pills */
@subnav-pill-item-padding-vertical: 10px;
@ -39,6 +40,9 @@
font-size: @subnav-item-font-size;
font-weight: @subnav-item-font-weight;
line-height: @subnav-item-line-height;
max-width: @subnav-item-max-width;
& > *:extend(.uk-text-truncate) {}
}
.hook-subnav-pill-item() {
@ -93,4 +97,4 @@
padding: @subnav-pill-alt-item-padding-vertical-small @subnav-pill-alt-item-padding-horizontal-small;
}
}
}
}