I removed the 8% left and right padding on the anchors in a media query
and replaced it with .5em. It seems to not be causing and issue as I do
cross browser testing.
line-height: 4.1875rem; }
@media screen and (max-width: 963px) {
.top-bar-section ul li:not(.has-form):not(.active) > a:not(.button) {
- padding: 0 8%; } }
+ padding: 0 .5em; } }
@media screen and (max-width: 840px) {
.top-bar-section ul li:not(.has-form):not(.active) > a:not(.button) {
font-size: 137.5%; } }
background: #044a70; }
@media screen and (max-width: 963px) {
.top-bar-section ul li.active:not(.has-form) > a:not(.button) {
- padding: 0 8%; } }
+ padding: 0 .5em; } }
@media screen and (max-width: 840px) {
.top-bar-section ul li.active:not(.has-form) > a:not(.button) {
font-size: 137.5%; } }
line-height: rem-calc(67);
}
@media screen and (max-width: 963px) {
- padding: 0 8%;
+ padding: 0 .5em;
}
@media screen and (max-width: 840px) {
font-size: 137.5%;
@media screen and (max-width: 773px) {
font-size: 112.5%;
}
- }
}
+ }
&.active:not(.has-form){
&:hover {
max-height: rem-calc(71);
background: $d-blue;
}
@media screen and (max-width: 963px) {
- padding: 0 8%;
+ padding: 0 .5em;
}
@media screen and (max-width: 840px) {
font-size: 137.5%;
@media screen and (max-width: 773px) {
font-size: 112.5%;
}
- }
}
+ }
&.has-dropdown {
&:hover {
max-height: rem-calc(69);