You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/11/01 04:35:22 UTC
[echarts-www] branch add-index-animation updated: fix svg
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch add-index-animation
in repository https://gitbox.apache.org/repos/asf/echarts-www.git
The following commit(s) were added to refs/heads/add-index-animation by this push:
new f23e1ee fix svg
f23e1ee is described below
commit f23e1ee9c0dcd89e3fac95caf77110f9f86a1db7
Author: pissang <bm...@gmail.com>
AuthorDate: Mon Nov 1 12:35:13 2021 +0800
fix svg
---
_scss/_pages.index.scss | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/_scss/_pages.index.scss b/_scss/_pages.index.scss
index 1b111ab..327c9a5 100644
--- a/_scss/_pages.index.scss
+++ b/_scss/_pages.index.scss
@@ -107,6 +107,17 @@ body {
&:hover {
opacity: 1;
}
+
+ svg {
+ width: 700px;
+ height: 700px;
+ max-width: 100%;
+ max-height: 100%;
+
+ path {
+ vector-effect: non-scaling-stroke;
+ }
+ }
}
.index-home-svg {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org