Skip to content

Commit

Permalink
fix: update button width for collapsed menu
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmatthew committed May 19, 2021
1 parent 9afb88a commit 9969da5
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/assets/css/talis.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/css/talis.css.map

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions docs/forms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,14 @@
</button>
</li>
<li class="nav-item dropdown">
<a
<button
class="nav-link dropdown-toggle"
href="#"
id="navbarDropdown"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Dropdown
</a>
</button>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li>
<span class="dropdown-header">Dropdown header</span></li>
Expand Down
6 changes: 2 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,14 @@
</button>
</li>
<li class="nav-item dropdown">
<a
<button
class="nav-link dropdown-toggle"
href="#"
id="navbarDropdown"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Dropdown
</a>
</button>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li>
<span class="dropdown-header">Dropdown header</span></li>
Expand Down
4 changes: 3 additions & 1 deletion scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
}

.navbar-nav button.nav-link {
background-color: $primary;
width: 100%;
border: 0;
background-color: $primary;
text-align: left;
}

.navbar-dark .navbar-nav .nav-link:hover,
Expand Down
6 changes: 2 additions & 4 deletions src/docs/_includes/partials/global/navbar.njk
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,14 @@
</button>
</li>
<li class="nav-item dropdown">
<a
<button
class="nav-link dropdown-toggle"
href="#"
id="navbarDropdown"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Dropdown
</a>
</button>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li>
<span class="dropdown-header">Dropdown header</span></li>
Expand Down

0 comments on commit 9969da5

Please sign in to comment.