将Sketch中的图标导出为SVG时,导出的大小错误。
左侧的icon.svg文件从Sketch中导出。
但是当我从Illustrator导出相同的文件时,它会完全输出它。
这是我的草图导出面板:
我做错了什么?
答案 0 :(得分:0)
Sketch export the SVG with a height and width from your layout. As example 72x72 px and so you see the icon one the left site like this.
Solution: Open the icon.svg with Dreamweaver > set height and width to "none" > save
It's not the best solution, but it works.