diff options
author | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2017-10-13 21:43:30 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2017-10-13 21:43:30 +0800 |
commit | 758f15746a9337345ee9df5ad5d00798fef91ba7 (patch) | |
tree | 30e1746ba4a4aaff2a974385238a698e6e2bf76d /src | |
parent | 22515fb8c090568c21a5dbe80e2e38380b53e908 (diff) |
fix: fallback for browsers which doesn't support for `calc()`
See #13
release 2.6.4
Diffstat (limited to 'src')
-rw-r--r-- | src/css/_common/_animation.scss | 3 | ||||
-rw-r--r-- | src/package.json | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/css/_common/_animation.scss b/src/css/_common/_animation.scss index 2c3934c..d596b16 100644 --- a/src/css/_common/_animation.scss +++ b/src/css/_common/_animation.scss @@ -96,6 +96,9 @@ span { position: absolute; + /* fallback for browsers which still doesn't support for `calc()` */ + left: 15px; + top: 25px; left: calc((100% - 20px) / 2); top: calc((100% - 1px) / 2); width: 20px; diff --git a/src/package.json b/src/package.json index 2a9fa73..2bb8e88 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "even-src", - "version": "2.6.3", + "version": "2.6.4", "description": "even source file", "main": "index.js", "scripts": { |