Skip to content

Commit

Permalink
Site: (liferay#481) Management Bar Primary demos should truncate Sele…
Browse files Browse the repository at this point in the history
…ct All text
  • Loading branch information
pat270 committed Feb 20, 2018
1 parent ec72db3 commit 5a3cf05
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 16 deletions.
10 changes: 6 additions & 4 deletions packages/clay/src/content/management-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ <h3>Navbar Management Bar</h3>
</div>
</nav>

<nav class="management-bar management-bar-primary navbar navbar-expand-md">
<nav class="management-bar management-bar-primary navbar navbar-expand-md navbar-nowrap">
<div class="container-fluid container-fluid-max-xl">
<ul class="navbar-nav">
<ul class="navbar-nav navbar-nav-expand">
<li class="nav-item">
<div class="custom-control custom-checkbox">
<label>
Expand All @@ -294,9 +294,11 @@ <h3>Navbar Management Bar</h3>
<span class="navbar-breakpoint-down-d-none">items selected</span>
</span>
</li>
<li class="nav-item">
<li class="nav-item nav-item-shrink">
<button class="btn btn-link nav-btn" type="button">
Select all
<span class="text-truncate-inline">
<span class="text-truncate">Select All the Things</span>
</span>
</button>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
</div>
</nav>

<nav class="management-bar management-bar-primary navbar navbar-expand-md">
<nav class="management-bar management-bar-primary navbar navbar-expand-md navbar-nowrap">
<div class="container-fluid container-fluid-max-xl">
<ul class="navbar-nav">
<ul class="navbar-nav navbar-nav-expand">
<li class="nav-item">
<div class="custom-control custom-checkbox">
<label>
Expand All @@ -97,9 +97,13 @@
<span class="navbar-breakpoint-down-d-none">items selected</span>
</span>
</li>
<li class="nav-item">
<li class="nav-item nav-item-shrink">
<button class="btn btn-link nav-btn" type="button">
Select All
<span class="text-truncate-inline">
<span class="text-truncate">
Select All the Things
</span>
</span>
</button>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
</div>
</nav>

<nav class="management-bar management-bar-primary navbar navbar-expand-md">
<nav class="management-bar management-bar-primary navbar navbar-expand-md navbar-nowrap">
<div class="container-fluid container-fluid-max-xl">
<ul class="navbar-nav">
<ul class="navbar-nav navbar-nav-expand">
<li class="nav-item">
<div class="custom-control custom-checkbox">
<label>
Expand All @@ -97,9 +97,11 @@
<span class="navbar-breakpoint-down-d-none">items selected</span>
</span>
</li>
<li class="nav-item">
<li class="nav-item nav-item-shrink">
<button class="btn btn-link nav-btn" type="button">
Select All
<span class="text-truncate-inline">
<span class="text-truncate">Select All the Things</span>
</span>
</button>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
</div>
</nav>

<nav class="management-bar management-bar-primary navbar navbar-expand-md">
<nav class="management-bar management-bar-primary navbar navbar-expand-md navbar-nowrap">
<div class="container-fluid container-fluid-max-xl">
<ul class="navbar-nav">
<ul class="navbar-nav navbar-nav-expand">
<li class="nav-item">
<div class="custom-control custom-checkbox">
<label>
Expand All @@ -97,9 +97,11 @@
<span class="navbar-breakpoint-down-d-none">items selected</span>
</span>
</li>
<li class="nav-item">
<li class="nav-item nav-item-shrink">
<button class="btn btn-link nav-btn" type="button">
Select All
<span class="text-truncate-inline">
<span class="text-truncate">Select All the Things</span>
</span>
</button>
</li>
</ul>
Expand Down

0 comments on commit 5a3cf05

Please sign in to comment.