kopia lustrzana https://github.com/magicbug/Cloudlog
Fixed centered nav the container div needed to be with the nav tags
rodzic
8d7698b3db
commit
b12e6ebb7e
|
@ -22,7 +22,8 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light">
|
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light main-nav">
|
||||||
|
<div class="container">
|
||||||
<a class="navbar-brand" href="<?php echo site_url(); ?>">Cloudlog</a>
|
<a class="navbar-brand" href="<?php echo site_url(); ?>">Cloudlog</a>
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
|
||||||
|
@ -126,4 +127,5 @@
|
||||||
</form>
|
</form>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
.main-nav .container {
|
||||||
|
margin-top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
margin-top: 55px;
|
margin-top: 55px;
|
||||||
|
|
Ładowanie…
Reference in New Issue