Skip to content

Commit 0dee2bc

Browse files
author
Ryan A. Johnson
committed
fix(Progress): correct ShadyCSS styles
1 parent afe5d08 commit 0dee2bc

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
<div id="fill"></div>
1+
<div id="hxProgress">
2+
<div id="hxFill"></div>
3+
</div>

src/helix-ui/elements/HXProgressElement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ export class HXProgressElement extends HXElement {
7676
* @type {HTMLElement}
7777
*/
7878
get _elFill () {
79-
return this.shadowRoot.getElementById('fill');
79+
return this.shadowRoot.getElementById('hxFill');
8080
}
8181
}
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
#fill {
2-
background-color: currentColor;
3-
box-sizing: border-box;
1+
#hxProgress {
42
height: 100%;
5-
width: 0%;
3+
4+
#hxFill {
5+
background-color: currentColor;
6+
box-sizing: border-box;
7+
height: 100%;
8+
width: 0%;
9+
}
610
}

0 commit comments

Comments
 (0)