Skip to content

Commit

Permalink
💄 UI - centre align the navbar elements (#126)
Browse files Browse the repository at this point in the history
* fix the styling in the nav

* add id to navbar

* remove unecessary css and add bootstrap

* remove id

* target span in li for youtube link
  • Loading branch information
SamBWagner authored Nov 15, 2023
1 parent 23f2ffa commit 06dc0a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/GordonBeemingCom/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto py-4 py-lg-0">
<ul class="navbar-nav align-items-center ms-auto py-4 py-lg-0">
<li class="nav-item">
<span class="nav-link px-lg-3 py-3 py-lg-4">
<div class="g-ytsubscribe" data-channelid="UCMtMOwghQqwKFz3Xx1rd18Q" data-layout="default" data-theme="dark" data-count="hidden"></div>
Expand Down
5 changes: 5 additions & 0 deletions src/GordonBeemingCom/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,8 @@ header.masthead .home-header {
margin-bottom: 20px;
}
}

ul .nav-item:first-child span {
padding-top: 2rem!important;
}

0 comments on commit 06dc0a8

Please sign in to comment.