Reworking navbar for phones.

This commit is contained in:
Tristan Roux
2019-01-25 21:54:45 +01:00
parent 2f5411cf8f
commit 42bfc8b3a4
3 changed files with 7 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

-1
View File
@@ -37,6 +37,5 @@
<a href="other" class="nav-link text-center">Other</a>
</li>
</ul>
<div class="mobile-nav collapse fullHeight" data-toggle="collapse" data-target=".mobile-nav" style="background: none;"></div>
</div>
+7 -2
View File
@@ -5,13 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>MusicApp - RaccoonSDG</title>
<link rel="shortcut icon" type="image/png" href="../drawables/MusicApp/icon.svg"/>
<link rel="shortcut icon" type="image/png" href="../drawables/MusicApp/icon.png"/>
<link rel="stylesheet" href="../scss/custom.css" type="text/css">
<link rel="stylesheet" href="../style.css" type="text/css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>
@@ -133,6 +133,11 @@
var asset = release.assets[0];
$(".download-btn").attr("href", asset.browser_download_url);
});
$(document).on("click touchstart", function()
{
$(".mobile-nav").collapse("hide");
});
});
</script>
<script src="../js/horizontalScrolling.js"></script>