From 758f15746a9337345ee9df5ad5d00798fef91ba7 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Fri, 13 Oct 2017 21:43:30 +0800 Subject: fix: fallback for browsers which doesn't support for `calc()` See #13 release 2.6.4 --- src/css/_common/_animation.scss | 3 +++ src/package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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": { -- cgit v1.2.3