From 81842245d1aa94503c4870a6688410220e4e47c6 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 23 Aug 2016 22:54:11 -0400 Subject: [PATCH] Use units for the nav height calc --- resources/assets/sass/elements/_nav.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/assets/sass/elements/_nav.scss b/resources/assets/sass/elements/_nav.scss index e000118..2179d0a 100644 --- a/resources/assets/sass/elements/_nav.scss +++ b/resources/assets/sass/elements/_nav.scss @@ -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); } }