2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

SVGが縦に伸びて高さを取る

Posted at

縦に伸びる

Android4.2系にて、SVG画像がやたらめったら空白をとり、縦に長く伸びるという事象にぶち当たりました。
flexboxを使っていたので、 ベンダープレフィックスのつけ忘れかと思い、少しハマってしまったので覚書。

発生するOS

特にiOS 5.xやAndroid 4.x
(今回はAndroid4.2で発生)

原因

SVG作成時の保存形式が悪い

解決法

イラレでのSVG書き出し方法で
詳細設定にあるレスポンシブのチェックを外す

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?