Przeglądaj źródła

Align the completer with the text in the editor.

Brian E. Granger 7 lat temu
rodzic
commit
9085a490ba
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      packages/completer/style/index.css

+ 2 - 1
packages/completer/style/index.css

@@ -20,7 +20,8 @@
   list-style-type: none;
   overflow: auto;
   padding: 0;
-  margin: 4px 0 0 -4px;
+  /* Position the completer relative to the text editor, align the '.' */
+  margin: 4px 0 0 -30px;
   max-height: calc((10 * var(--jp-private-completer-item-height)) + (2 * var(--jp-border-width)));
   min-height: calc(var(--jp-private-completer-item-height) + (2 * var(--jp-border-width)));
   z-index: 10001;