mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-16 02:03:42 +08:00
fix(retina-img): Escape mask url, so it works with spaces
This commit is contained in:
parent
8d54773955
commit
d161aa9cf9
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class RetinaImg extends React.Component
|
|||
style.zoom = if pathIsRetina then 0.5 else 1
|
||||
|
||||
if @props.colorfill
|
||||
style.WebkitMaskImage = "url(#{path})"
|
||||
style.WebkitMaskImage = "url('#{path}')"
|
||||
style.objectPosition = "10000px"
|
||||
className = "colorfill"
|
||||
|
||||
|
|
Loading…
Reference in a new issue