[UX] Improve user experience by making possible to click the the entire box (menu item), not only the text

This commit is contained in:
Maike
2018-10-28 19:48:15 -03:00
parent e6143218e6
commit f0772bb2d5
2 changed files with 909 additions and 2 deletions

View File

@ -799,7 +799,6 @@ nav {
margin: calc(0.5 * var(#{$universal-margin-var}));
margin-left: var(#{$universal-margin-var});
margin-bottom: 0;
padding: calc(2 * var(#{$universal-padding-var})) calc(1.5 * var(#{$universal-padding-var}));
border-left: $__1px solid var(#{$nav-link-border-color-var});
&:hover {
text-decoration: none;
@ -810,6 +809,8 @@ nav {
}
}
a {
display: block;
padding: calc(2 * var(#{$universal-padding-var})) calc(1.5 * var(#{$universal-padding-var}));
&:link, &:visited {
color: var(#{$nav-link-fore-color-var});
}

File diff suppressed because one or more lines are too long