Skip to content

Commit

Permalink
fix(progress-bar): looking nice inside toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Dec 16, 2018
1 parent 77640c9 commit b5efede
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/components/progress-bar/test/basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
--buffer-background: none;
}

ion-progress-bar {
ion-content ion-progress-bar {
margin: 10px 0;
}
</style>
Expand All @@ -28,6 +28,7 @@
<ion-header>
<ion-toolbar>
<ion-title>Progress Bar - Basic</ion-title>
<ion-progress-bar type="indeterminate"></ion-progress-bar>
</ion-toolbar>
</ion-header>

Expand Down
6 changes: 6 additions & 0 deletions core/src/components/toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,9 @@
:host(.toolbar-segment) {
--min-height: auto;
}

::slotted(ion-progress-bar) {
@include position(null, 0, 0, 0);

position: absolute;
}

0 comments on commit b5efede

Please sign in to comment.