Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<a href="#home" class="brand-logo">
<img src="./source/images/fcc-khi.png">
</a>
<a href="#" data-activates="mobile-menu" class="button-collapse">
<a href="#" data-activates="mobile-menu" class="button-collapse right">
<i class="fa fa-bars fa-2x" aria-hidden="true"></i>
</a>
<ul class="right hide-on-med-and-down">
Expand Down
7 changes: 6 additions & 1 deletion source/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ let materialize = require('../../node_modules/materialize-css/dist/js/materializ


$(document).ready(function () {
$(".button-collapse").sideNav();
$(".button-collapse").sideNav({
menuWidth: 300, // Default is 300
edge: 'right', // Choose the horizontal origin
closeOnClick: true, // Closes side-nav on <a> clicks, useful for Angular/Meteor
draggable: true, // Choose whether you can drag to open on touch screens,
});
$('.parallax').parallax();
$('.carousel').carousel({ indicators: true, padding: 50, shift: 80 });
let setCopyRightYear = () => {
Expand Down
2 changes: 1 addition & 1 deletion source/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ h2 {
@media screen and (max-width: $small-screen) {
height: 52px;
padding: 14px;
margin-left: 35px;
margin-left: 0px;
}
}
}
Expand Down