diff --git a/packages/jupyter-ai/style/rendermime-markdown.css b/packages/jupyter-ai/style/rendermime-markdown.css index bdf375bff..177bfbe2c 100644 --- a/packages/jupyter-ai/style/rendermime-markdown.css +++ b/packages/jupyter-ai/style/rendermime-markdown.css @@ -1,38 +1,4 @@ -/* ************************************** */ - -/* - * Styles below are for JupyterLab >=4.0.0,<4.3.0. - */ - -/* ************************************** */ - -.jp-ai-rendermime-markdown .jp-RenderedHTMLCommon { - padding-right: 0; -} - -.jp-ai-rendermime-markdown pre { - background-color: var(--jp-cell-editor-background); - overflow-x: auto; - white-space: pre; - margin: 0; - padding: 4px 2px 0 6px; - border: var(--jp-border-width) solid var(--jp-cell-editor-border-color); -} - -.jp-ai-rendermime-markdown pre > code { - background-color: inherit; - overflow-x: inherit; - white-space: inherit; -} - -.jp-ai-rendermime-markdown mjx-container { - font-size: 119%; -} - -/* ************************************** */ - /* - * Styles below are for JupyterLab >=4.3.0. * * Selectors must be nested in `.jp-ThemedContainer` to have a higher * specificity than selectors in rules provided by JupyterLab. @@ -41,8 +7,6 @@ * See also: https://github.com/jupyterlab/jupyter-ai/issues/1090 */ -/* ************************************** */ - .jp-ThemedContainer .jp-ai-rendermime-markdown .jp-RenderedHTMLCommon { padding-right: 0; }