Another CSS hack to get shadows to look correct on retina displays. This is a fix for #1648.
This time, simply setting background-size: 99.99% didn't work because the gradient wrapped around and you could see a dark line at the bottom of the top shadow.
The fix for inline editors is to use a media query with a 3 stop gradient. I've tagged these hacks with "TODO (Issue #1615)" so they can be easily found when we get an update CEF with the gradient drawing fixes.
Issue by gruehle Friday Sep 14, 2012 at 00:49 GMT Originally opened as https://github.com/adobe/brackets/pull/1649
@
njxAnother CSS hack to get shadows to look correct on retina displays. This is a fix for #1648.
This time, simply setting
background-size: 99.99%
didn't work because the gradient wrapped around and you could see a dark line at the bottom of the top shadow.The fix for inline editors is to use a media query with a 3 stop gradient. I've tagged these hacks with "TODO (Issue #1615)" so they can be easily found when we get an update CEF with the gradient drawing fixes.
gruehle included the following code: https://github.com/adobe/brackets/pull/1649/commits