浏览代码

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

Shane Kilkelly 10 年之前
父节点
当前提交
ef115e2f91
共有 2 个文件被更改,包括 3 次插入 和 0 次删除
  1. 二进制
      services/web/public/img/spellcheck-underline@2x.png
  2. 3 0
      services/web/public/stylesheets/app/editor.less

二进制
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;
 	}