From 39c4316ee2ff122c54047089ba9aecb89822c686 Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Fri, 15 May 2020 04:42:30 +0000 Subject: [PATCH] fix issue where a menu item with a dropdown as the last menu item did not have proper margin --- CHANGELOG.md | 4 ++++ assets/css/main.css | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a63934..1c1e711 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v3.0.1 (Date: TBD) + +- Fixed issue where if a dropdown menu was the last item in the menu bar, it did not have a proper margin on the right + ## v3.0.0 (Date: 2020-05-07) - **BREAKING CHANGE** Upgraded from Bootstrap 3.3.2 to 4.4.1. This involved a major rewrite of most components. This shouldn't affect any users unless you have custom HTML/CSS code which the new Bootstrap could have broken. diff --git a/assets/css/main.css b/assets/css/main.css index e5a13fe..221ff19 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -242,7 +242,8 @@ img { padding-left: 0.9375rem; padding-right: 0.9375rem; } - .navbar-expand-md .navbar-nav .nav-item:last-child .nav-link { + + .navbar-expand-md .navbar-nav .nav-item:not(.dropdown):last-child .nav-link { padding-right: 0; } }