forked from angular/components
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(progress-bar): unable to apply visibility in indeterminate mode a…
…nd reduce CSS * Fixes being unable to apply `visibility: hidden` to progress bars in `indeterminate` or `buffer` mode. * Slightly reduces the amount of CSS used for the `progress-bar` component. * Removes an unused import. Fixes angular#2413.
- Loading branch information
Showing
2 changed files
with
18 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!-- The background div is named as such because it appears below the other divs and is not sized based on values. --> | ||
<div class="md-progress-bar-background"></div> | ||
<div class="md-progress-bar-buffer" [ngStyle]="_bufferTransform()"></div> | ||
<div class="md-progress-bar-primary md-progress-bar-fill" [ngStyle]="_primaryTransform()"></div> | ||
<div class="md-progress-bar-secondary md-progress-bar-fill"></div> | ||
<div class="md-progress-bar-background md-progress-bar-element"></div> | ||
<div class="md-progress-bar-buffer md-progress-bar-element" [ngStyle]="_bufferTransform()"></div> | ||
<div class="md-progress-bar-primary md-progress-bar-fill md-progress-bar-element" [ngStyle]="_primaryTransform()"></div> | ||
<div class="md-progress-bar-secondary md-progress-bar-fill md-progress-bar-element"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters