mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 09:40:23 -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;
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue