Ver Fonte

Merge pull request #3320 from overleaf/hb-spellcheck-visibility-on-current-line

Add z-index to spellcheck highlight to make it always visible in some themes

GitOrigin-RevId: 5e29ec5ddb6dd40d908e6c044f529edbcf0dd615
Miguel Serrano há 6 anos atrás
pai
commit
c504f2a64c
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      services/web/frontend/stylesheets/app/editor.less

+ 1 - 0
services/web/frontend/stylesheets/app/editor.less

@@ -256,6 +256,7 @@ Ace
     height: 100%;
     height: 100%;
   }
   }
   .spelling-highlight {
   .spelling-highlight {
+    z-index: 3;
     position: absolute;
     position: absolute;
     background-image: url(/img/spellcheck-underline.png);
     background-image: url(/img/spellcheck-underline.png);
     @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
     @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {