Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1840 from adobe/glenn/issue-1615
Browse files Browse the repository at this point in the history
Remove CSS hacks for fixing gradient drawing on retina screens
  • Loading branch information
Narciso Jaramillo committed Oct 15, 2012
2 parents 6a45c24 + 0026618 commit 2facc30
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions src/styles/brackets.less
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,7 @@ a, img {
}

.scroller-shadow {
// TODO (Issue #1615): background-size should really be 100%, but due to a bug in WebKit,
// that makes the drop shadows look bad on retina displays. This value
// should be changed to 100% once we've upgraded to a newer CEF that includes
// the WebKit fix.
background-size: 99.99%;
background-size: 100%;
background-repeat: no-repeat;
height: 5px;
position: fixed;
Expand Down Expand Up @@ -630,20 +626,6 @@ ins.jstree-icon {
}
}

// TODO (Issue #1615): Remove this hack when we get a new CEF
/*
@media all and (-webkit-min-device-pixel-ratio:2),(min-device-pixel-ratio:2) {
.inline-widget {
.shadow.top {
background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
}
.shadow.bottom {
background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}
}
}
*/

/* CSSInlineEditor rule list */
.related-container {
@top-margin: 12px;
Expand Down

0 comments on commit 2facc30

Please sign in to comment.