Centering mobile navigation menu button

This commit is contained in:
Gregory Ballantine 2016-11-18 11:46:06 -05:00
parent 9354bbbbaf
commit a44bf317bf
3 changed files with 9 additions and 6 deletions

View File

@ -10,10 +10,12 @@
<!-- nav bar --> <!-- nav bar -->
<nav id="nav" class="navbar" class="row"> <nav id="nav" class="navbar" class="row">
<div class="container-fluid"> <div class="container-fluid">
<div class="nav navbar-header">
<button id="navbar-collapse-button" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false"> <button id="navbar-collapse-button" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
<span class="sr-only">Toggle navigation</span> <span class="sr-only">Toggle navigation</span>
<i class="fa fa-bars" aria-hidden="true"></i> <i class="fa fa-bars" aria-hidden="true"></i>
</button> </button>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse"> <div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">

View File

@ -5,7 +5,8 @@
display: inline-block display: inline-block
float: none float: none
.navbar-collapse .navbar-collapse,
.navbar-header
text-align: center text-align: center
ul ul

File diff suppressed because one or more lines are too long