Просмотр исходного кода

Merge pull request #21500 from overleaf/td-bs5-math-preview

[BS5] Migrate math preview

GitOrigin-RevId: 0da768afdd98f81554f6820049432283ca8f9735
Tim Down 1 год назад
Родитель
Сommit
571ece201f

+ 1 - 0
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';

+ 9 - 0
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);
+}