mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 21:22:30 +00:00
Merge pull request #382 from sharelatex/sk-spellcheck-underline-retina
Sk spellcheck underline retina
This commit is contained in:
commit
dcc9a5de32
3 changed files with 4 additions and 0 deletions
Binary file not shown.
Before Width: | Height: | Size: 111 B After Width: | Height: | Size: 2.8 KiB |
BIN
services/web/public/img/spellcheck-underline@2x.png
Normal file
BIN
services/web/public/img/spellcheck-underline@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
|
@ -138,6 +138,10 @@
|
|||
.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-size: 5px 4px;
|
||||
}
|
||||
background-repeat: repeat-x;
|
||||
background-position: bottom left;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue