Skip to content

Commit 3f16e97

Browse files
committed
- add !important for running in animation-play-state style to ensure animation to be succeffully run
- bump verion
1 parent 22bf163 commit 3f16e97

File tree

6 files changed

+13
-8
lines changed

6 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Logs
22

3+
## v2.0.4
4+
5+
- add `!important` for `running` in `animation-play-state` style to ensure animation to be succeffully run
6+
7+
38
## v2.0.3
49

510
- animation-play-state should be running for ld element and its pseudo child.

dist/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
opacity: 1;
5555
z-index: auto;
5656
visibility: visible;
57-
animation-play-state: running;
57+
animation-play-state: running !important;
5858
}
5959
.ld-ext-right.running > .ld:before,
6060
.ld-ext-left.running > .ld:before,
@@ -72,7 +72,7 @@
7272
.ld-over-inverse.running > .ld:after,
7373
.ld-over-full.running > .ld:after,
7474
.ld-over-full-inverse.running > .ld:after {
75-
animation-play-state: running;
75+
animation-play-state: running !important;
7676
}
7777
.ld-ext-right,
7878
.ld-ext-left,

dist/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "ldbutton",
44
"license": "MIT",
55
"description": "css for buttons that load",
6-
"version": "2.0.3",
6+
"version": "2.0.4",
77
"style": "dist/index.min.css",
88
"homepage": "https://loading.io/button/",
99
"repository": {

src/index.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
opacity: 1
2424
z-index: auto
2525
visibility: visible
26-
animation-play-state: running
26+
animation-play-state: running!important
2727
&:before, &:after
28-
animation-play-state: running
28+
animation-play-state: running!important
2929

3030
.ld-ext-right, .ld-ext-left, .ld-ext-bottom, .ld-ext-top
3131
transition-timing-function: ease-in

0 commit comments

Comments
 (0)