index.css 825 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. @import './highlight.css';
  6. .jp-CellEditor > .CodeMirror {
  7. line-height: var(--jp-code-line-height);
  8. font-size: var(--jp-code-font-size);
  9. height: auto;
  10. /* Changed to auto to autogrow */
  11. background: none;
  12. }
  13. .jp-CellEditor > .CodeMirror pre {
  14. padding: 0;
  15. border: 0;
  16. border-radius: 0;
  17. }
  18. /* This causes https://github.com/jupyter/jupyterlab/issues/522 */
  19. /* May not cause it not because we changed it! */
  20. .jp-CellEditor .CodeMirror-lines {
  21. padding: var(--jp-code-padding);
  22. }
  23. .jp-CellEditor .CodeMirror-linenumbers {
  24. padding: 0 4px 0 4px;
  25. }