Skip to content

Commit

Permalink
fix(dashboard): fix the button group styles (akveo#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
azhukaudev authored Jul 20, 2017
1 parent 0d107a2 commit 7781de5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
20 changes: 9 additions & 11 deletions src/app/pages/dashboard/electricity/electricity.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,15 @@
</div>
</div>

<!--<div class="btn-group" ngbDropdown ngbDropdownToggle>-->
<!--<button type="button" class="btn btn-primary">Week</button>-->
<!--<button type="button" class="btn btn-primary">-->
<!--<span class="sr-only">Dropdown</span>-->
<!--</button>-->
<!--<ul class="dropdown-menu">-->
<!--<li class="dropdown-item">Week</li>-->
<!--<li class="dropdown-item">Month</li>-->
<!--<li class="dropdown-item">Year</li>-->
<!--</ul>-->
<!--</div>-->
<!-- <div class="btn-group" ngbDropdown>
<button type="button" class="btn btn-primary">Week</button>
<button type="button" class="btn btn-primary" ngbDropdownToggle></button>
<ul class="dropdown-menu">
<li class="dropdown-item">Week</li>
<li class="dropdown-item">Month</li>
<li class="dropdown-item">Year</li>
</ul>
</div> -->

</div>
<ngx-electricity-chart></ngx-electricity-chart>
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/dashboard/player/player.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</div>
</div>
<div class="player-playlist-commands">
<div class="btn-group btn-group-block btn-group-divider" data-toggle="buttons">
<div class="btn-group btn-group-full-width" data-toggle="buttons">
<label class="btn btn-primary" [class.active]="playlistCommandsModel.left">
<input type="checkbox" [(ngModel)]="playlistCommandsModel.left"/> <i class="ion-plus-round"></i>
</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,9 @@
justify-content: center;

border-color: nga-theme(form-control-border-color);
width: 4.5rem;
height: 4.5rem;
padding: 0;
margin: 0;
margin-bottom: 0;

&.active {
border-color: nga-theme(color-fg-highlight);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="row block-level-buttons">
<div class="col-md-12">
<div class="btn-group btn-group-full-width" role="group">
<button type="button" class="btn btn-primary btn-group-icon btn-group-divider">
<button type="button" class="btn btn-primary btn-group-icon btn-group-divider btn-fixed">
<i class="ion-ios-home-outline"></i>
</button>
<button type="button" class="btn btn-primary">Icon Block Button</button>
Expand Down

0 comments on commit 7781de5

Please sign in to comment.