brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] More CSS hackery to get shadows looking good on retina. #1610

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by gruehle Friday Sep 14, 2012 at 00:49 GMT Originally opened as https://github.com/adobe/brackets/pull/1649


@njx

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.


gruehle included the following code: https://github.com/adobe/brackets/pull/1649/commits

core-ai-bot commented 3 years ago

Comment by njx Friday Sep 14, 2012 at 18:06 GMT


Looks good, merging.