jupyter-book / jupyterlab-myst

Use MyST Markdown directly in Jupyter Lab
https://jupyter-book.github.io/jupyterlab-myst/
BSD 3-Clause "New" or "Revised" License
140 stars 17 forks source link

inconsistent sizes of paragraph and bulletted lists with 2.3.2 #230

Closed parmentelat closed 6 months ago

parmentelat commented 6 months ago

Description

I notice that my rendered markdown exhibits a difference in the font-size for <p> and <ul> tags, like e.g.

image

this is with jupyterlab-myst 2.3.2

I do not have the version combo of a time when this issue was not present, but right now I have the following pips
pip freeze | grep -E 'nb|jupyter'
jupyter==1.0.0
jupyter-book==1.0.0
jupyter-cache==1.0.0
jupyter-console==6.6.3
jupyter-events==0.10.0
jupyter-lsp==2.2.4
jupyter_bokeh==4.0.1
jupyter_client==8.6.1
jupyter_core==5.7.2
jupyter_server==2.13.0
jupyter_server_terminals==0.5.3
jupyterlab==4.1.5
jupyterlab_celltagsclasses==0.5.1
jupyterlab_courselevels==0.6.4
jupyterlab_gridwidth==0.3.1
jupyterlab_hidecell==0.2.2
jupyterlab_myst==2.3.2
jupyterlab_pygments==0.3.0
jupyterlab_rise==0.42.0
jupyterlab_server==2.25.4
jupyterlab_tpt==0.7.1
jupyterlab_widgets==3.0.10
myst-nb==1.0.0
nbautoeval==1.7.0
nbclient==0.10.0
nbconvert==7.16.3
nbformat==5.10.3
sphinx-jupyterbook-latex==1.0.0
widgetsnbextension==4.0.10

Proposed solution

a quick inquiry showed that in this context I have

in any case it would feel more right for the myst styles to be based on the --jp-* css variables, innit ?

Additional notes

regardless, I believe I have noted that somehow the default size of jupyterlab has recently changed that's only a hunch, mind you, I'm trying to get confirmation of that separately