Sfoglia il codice sorgente

fix icon for .autoformat-markdown-table-activated

Yuki Takei 6 anni fa
parent
commit
9dd6eeec7c
1 ha cambiato i file con 7 aggiunte e 4 eliminazioni
  1. 7 4
      src/client/styles/scss/_on-edit.scss

+ 7 - 4
src/client/styles/scss/_on-edit.scss

@@ -184,13 +184,16 @@ body.on-edit {
       .autoformat-markdown-table-activated .CodeMirror-cursor {
         &:after {
           position: relative;
-          top: -16px;
-          left: 5px;
+          top: -1.1em;
+          left: 0.3em;
           display: block;
-          width: 14px;
-          height: 14px;
+          width: 1em;
+          height: 1em;
           content: ' ';
+
           background-image: url(/images/icons/editor/table.svg);
+          background-repeat: no-repeat;
+          background-size: 1em;
         }
       }