Skip to content

Commit

Permalink
zephyr: fix nav-link padding on collapsed navbars, fixes #1204
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Sep 15, 2022
1 parent 88a144a commit 55269b5
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 2 deletions.
4 changes: 4 additions & 0 deletions dist/zephyr/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700
}
}

.navbar-nav {
--bs-nav-link-padding-x: .5rem;
}

// Buttons

.btn-secondary,
Expand Down
4 changes: 4 additions & 0 deletions dist/zephyr/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -10975,6 +10975,10 @@ textarea.form-control-lg {
background-color: rgba(0, 0, 0, 0.05);
}

.navbar-nav {
--bs-nav-link-padding-x: .5rem;
}

.btn-secondary,
.btn-light,
.btn-outline-secondary,
Expand Down
2 changes: 1 addition & 1 deletion dist/zephyr/bootstrap.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions docs/5/zephyr/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700
}
}

.navbar-nav {
--bs-nav-link-padding-x: .5rem;
}

// Buttons

.btn-secondary,
Expand Down
4 changes: 4 additions & 0 deletions docs/5/zephyr/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -10975,6 +10975,10 @@ textarea.form-control-lg {
background-color: rgba(0, 0, 0, 0.05);
}

.navbar-nav {
--bs-nav-link-padding-x: .5rem;
}

.btn-secondary,
.btn-light,
.btn-outline-secondary,
Expand Down
2 changes: 1 addition & 1 deletion docs/5/zephyr/bootstrap.min.css

Large diffs are not rendered by default.

0 comments on commit 55269b5

Please sign in to comment.