From 571ece201fb74216179342db5dd3eabfb7a354c4 Mon Sep 17 00:00:00 2001 From: Tim Down <158919+timdown@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:09:51 +0000 Subject: [PATCH] Merge pull request #21500 from overleaf/td-bs5-math-preview [BS5] Migrate math preview GitOrigin-RevId: 0da768afdd98f81554f6820049432283ca8f9735 --- .../web/frontend/stylesheets/bootstrap-5/pages/all.scss | 1 + .../bootstrap-5/pages/editor/math-preview.scss | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 services/web/frontend/stylesheets/bootstrap-5/pages/editor/math-preview.scss diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/all.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/all.scss index 1179c038a8..1e97a1f67e 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/all.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/all.scss @@ -17,6 +17,7 @@ @import 'editor/review-panel'; @import 'editor/chat'; @import 'editor/history'; +@import 'editor/math-preview'; @import 'subscription'; @import 'editor/pdf'; @import 'editor/compile-button'; diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/math-preview.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/math-preview.scss new file mode 100644 index 0000000000..5315ecfcfb --- /dev/null +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/math-preview.scss @@ -0,0 +1,9 @@ +.ol-cm-math-tooltip { + border-radius: var(--border-radius-base); + max-height: 400px; + max-width: 800px; + overflow: auto; + padding: var(--spacing-04); + display: flex; + gap: var(--spacing-04); +}