Use units for the nav height calc

This commit is contained in:
Kevin MacMartin 2016-08-23 22:54:11 -04:00
parent 780114ba60
commit 81842245d1

View file

@ -12,8 +12,8 @@
position: absolute;
top: 5px;
left: 10px;
width: ($nav-height - 10);
height: ($nav-height - 10);
width: ($nav-height - 10px);
height: ($nav-height - 10px);
background-image: url("/img/logo.png");
background-position: center center;
background-size: contain;
@ -21,8 +21,8 @@
cursor: pointer;
@media (max-width: $grid-float-breakpoint-max) {
width: ($nav-height-mobile - 10);
height: ($nav-height-mobile - 10);
width: ($nav-height-mobile - 10px);
height: ($nav-height-mobile - 10px);
}
}