从Sketch导出SVG时大小错误

时间:2017-06-09 15:49:05

标签: svg sketch-3 sketchapp

将Sketch中的图标导出为SVG时,导出的大小错误。

左侧的icon.svg文件从Sketch中导出。

但是当我从Illustrator导出相同的文件时,它会完全输出它。

enter image description here

这是我的草图导出面板:

enter image description here

我做错了什么?

1 个答案:

答案 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.