Skip to content

Commit fa961f5

Browse files
authored
Merge pull request #45 from reveurguy/master
corrected navbar on small devices
2 parents 48afd88 + fc75725 commit fa961f5

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

_includes/navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
<nav class="navbar navbar-expand-lg navbar-dark">
3-
<div class="d-flex d-none d-sm-block d-md-none">
3+
<div class="d-flex d-none d-sm-block d-md-block d-lg-none">
44
<div class="navbar-header">
55
<a class="navbar-brand" href="/"><img src="/assets/img/logo/logo.png" style="height: 70px; width: 70px; background-color: white;" class="mr-3">Py Contributors</a>
66
</div>

assets/css/main.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,15 @@ background-attachment: fixed !important;
143143
.brandShow {
144144
display:none;
145145
}
146+
.navbar-brand
147+
{
148+
margin-right:0;
149+
}
150+
}
151+
@media screen and (min-width: 768px) and (max-width: 990px)
152+
{
153+
.navbar-header
154+
{
155+
margin-left: 15rem;
156+
}
146157
}

0 commit comments

Comments
 (0)