Fixed an issue with sizing circular progress bars. Added search loading property to chip list.
This commit is contained in:
@@ -11,8 +11,6 @@ class CircularProgress extends IgniteElement {
|
||||
mt-circular-progress > div > svg {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
left: calc(50% - (4em / 2));
|
||||
top: calc(50% - (4em / 2));
|
||||
animation: rotator 2s linear infinite;
|
||||
}
|
||||
|
||||
@@ -81,6 +79,8 @@ class CircularProgress extends IgniteElement {
|
||||
.attribute("viewBox", "22 22 44 44")
|
||||
.style("width", this.size)
|
||||
.style("height", this.size)
|
||||
.style("left", this.size, null, size => `calc(50% - (${size} / 2))`)
|
||||
.style("top", this.size, null, size => `calc(50% - (${size} / 2))`)
|
||||
.show(this.loading)
|
||||
.child(
|
||||
new circle()
|
||||
|
||||
Reference in New Issue
Block a user