Skip to content

Commit b719f36

Browse files
committed
Shrink the nav down as a default
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 9352fbc commit b719f36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_sass/openfaas/includes/navigation.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.navbar {
22
min-height: auto;
3-
height: 184px;
3+
height: 139px;
44

55
&>.container {
66
min-height: auto;

js/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function shrinkNav() {
55
var nav = document.getElementById('top-nav');
66
var htmlTag = document.documentElement;
77

8-
var maxHeight = 184;
8+
var maxHeight = 120;
99
var minHeight = 80;
1010

1111
if (window.innerWidth <= 1080) {

0 commit comments

Comments
 (0)