Skip to content

Commit

Permalink
fix: .text-left .text-right to .text-start .text-end
Browse files Browse the repository at this point in the history
  • Loading branch information
ExFlo authored and fbasso committed May 12, 2021
1 parent ae3a3fe commit 65f8954
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h5 class="m-0">Second panel</h5>
<ngb-panel [disabled]="disabled" [cardClass]="disabled ? 'disabled' : ''">
<ng-template ngbPanelHeader>
<div class="d-flex align-items-center justify-content-between">
<button ngbPanelToggle class="btn btn-link container-fluid text-left ps-0">Third panel</button>
<button ngbPanelToggle class="btn btn-link container-fluid text-start ps-0">Third panel</button>
<p *ngIf="disabled" class="text-muted m-0 small">[I'm&nbsp;disabled]</p>
</div>
</ng-template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>
</div>

<div class="col text-right">
<div class="col text-end">
<div ngbDropdown placement="top-end" class="d-inline-block">
<button class="btn btn-outline-primary" id="dropdownBasic2" ngbDropdownToggle>Toggle dropup</button>
<div ngbDropdownMenu aria-labelledby="dropdownBasic2">
Expand Down
2 changes: 1 addition & 1 deletion demo/src/app/default/default.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="col-6 mx-auto col-md-6">
<img width="512" height="512" class="img-fluid mb-3 mb-md-0" src="img/logo-stack.png" alt="ng-bootstrap logo"/>
</div>
<div class="col-lg-6 text-center text-lg-left">
<div class="col-lg-6 text-center text-lg-start">
<h1>Bootstrap widgets</h1>
<h3 class="text-secondary">The angular way</h3>
<p class="lead">
Expand Down

0 comments on commit 65f8954

Please sign in to comment.