Skip to content

Commit

Permalink
Merge pull request #807 from gy190/dev
Browse files Browse the repository at this point in the history
feat(icon): 增加部分 svg图标,兼容 iOS 16 锁定默认无法加载字体问题
  • Loading branch information
qifeng0748 authored Sep 22, 2022
2 parents aa9df5c + d944d81 commit 810a684
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
14 changes: 14 additions & 0 deletions components/icon/default-svg-list.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 8 additions & 11 deletions components/icon/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default {
-webkit-font-smoothing antialiased
-moz-osx-font-smoothing grayscale
&.xss
font-size icon-size-xxs
font-size icon-size-xss
&.xs
font-size icon-size-xs
&.sm
Expand All @@ -92,21 +92,18 @@ export default {
z-index 2
&.icon-svg
width 1em
vertical-height(1em)
&.xss
width icon-size-xxs
vertical-height(icon-size-xxs)
font-size icon-size-xss
&.xs
width icon-size-xs
vertical-height(icon-size-xs)
font-size icon-size-xs
&.sm
width icon-size-sm
vertical-height(icon-size-sm)
font-size icon-size-sm
&.md
width icon-size-md
vertical-height(icon-size-md)
font-size icon-size-md
&.lg
width icon-size-lg
vertical-height(icon-size-lg)
font-size icon-size-lg
// name
.md-icon-arrow:before
Expand Down

0 comments on commit 810a684

Please sign in to comment.