소스 검색

add a 2x version of the spellcheck-underline image.

Shane Kilkelly 10 년 전
부모
커밋
ef115e2f91
2개의 변경된 파일과 3개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      services/web/public/img/spellcheck-underline@2x.png
  2. 3 0
      services/web/public/stylesheets/app/editor.less

BIN
services/web/public/img/spellcheck-underline@2x.png


+ 3 - 0
services/web/public/stylesheets/app/editor.less

@@ -138,6 +138,9 @@
 	.spelling-highlight {
 		position: absolute;
 		background-image: url(/img/spellcheck-underline.png);
+		@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
+			background-image: url(/img/spellcheck-underline@2x.png);
+		}
 		background-repeat: repeat-x;
 		background-position: bottom left;
 	}