From 53095731fc1ed8f0dd50b4a676323231b00f3c59 Mon Sep 17 00:00:00 2001 From: Abdo Date: Thu, 24 Jul 2025 13:36:09 +0300 Subject: [PATCH] Fix empty field's height in legacy editor --- ts/lib/editable/index.ts | 3 --- ts/lib/editable/mathjax.scss | 7 ------- 2 files changed, 10 deletions(-) diff --git a/ts/lib/editable/index.ts b/ts/lib/editable/index.ts index 277588b5a..00984a718 100644 --- a/ts/lib/editable/index.ts +++ b/ts/lib/editable/index.ts @@ -4,6 +4,3 @@ import "./editable-base.scss"; import "./content-editable.scss"; import "./mathjax.scss"; -/* only imported for the CSS in the legacy editor */ -import "./ContentEditable.svelte"; -import "./Mathjax.svelte"; diff --git a/ts/lib/editable/mathjax.scss b/ts/lib/editable/mathjax.scss index 30f4c7541..03e118a70 100644 --- a/ts/lib/editable/mathjax.scss +++ b/ts/lib/editable/mathjax.scss @@ -11,10 +11,3 @@ img { margin: 1rem auto; transform: scale(1.1); } - -.empty { - vertical-align: text-bottom; - - width: var(--font-size); - height: var(--font-size); -}