org-roam / org-roam-ui

A graphical frontend for exploring your org-roam Zettelkasten
GNU General Public License v3.0
1.95k stars 108 forks source link

[ENH] Scrollbar in latex equations #259

Open deved99 opened 2 years ago

deved99 commented 2 years ago

Hi. Reading a node from the UI, latex fragments like the following:

\begin{equation}
x = 2
\end{equation}

have scrollbars, which I find quite distracting. image The above image is the result of:

* Un insieme limitato
Sia $E$ definito come segue:
\begin{equation*}
E = \left\{ p \in \mathbb{Q}: 0 \leq p < 1 \right\}
\end{equation*}
Allora $0$ é un minorante e $1$ é un maggiorante. Inoltre, $0$ appartiene ad $E$, mentre $1$ non appartiene ad $E$.

Is there a way to make them disappear?

deved99 commented 2 years ago

By chance, I found out that on Firefox this isn't a issue: image

The issue appears on Brave Browser 105.1.43.89. Is it a Chromium based browsers?

jeremygooch commented 2 years ago

The scrollbars are due to the different defaults between browsers and appears to be specific to chrome like browsers (edge, chromium, etc). The fix should be rather trivial. PR here: https://github.com/org-roam/org-roam-ui/pull/266

kaibagley commented 3 months ago

I'm using firefox and I still get a vertical scrollbar appearing