mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Use units for the nav height calc
This commit is contained in:
parent
780114ba60
commit
81842245d1
1 changed files with 4 additions and 4 deletions
8
resources/assets/sass/elements/_nav.scss
vendored
8
resources/assets/sass/elements/_nav.scss
vendored
|
@ -12,8 +12,8 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
width: ($nav-height - 10);
|
width: ($nav-height - 10px);
|
||||||
height: ($nav-height - 10);
|
height: ($nav-height - 10px);
|
||||||
background-image: url("/img/logo.png");
|
background-image: url("/img/logo.png");
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
|
@ -21,8 +21,8 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
@media (max-width: $grid-float-breakpoint-max) {
|
@media (max-width: $grid-float-breakpoint-max) {
|
||||||
width: ($nav-height-mobile - 10);
|
width: ($nav-height-mobile - 10px);
|
||||||
height: ($nav-height-mobile - 10);
|
height: ($nav-height-mobile - 10px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue