From a88c6e769946d4975d30aaa96a2edcea7a17140f Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sat, 13 Jun 2026 19:48:35 -0400 Subject: [PATCH] Set box-sizing in dialogs to avoid CSS bleed through that affects close and help buttons. --- ts/ui/dialog/DraggableDialog.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts/ui/dialog/DraggableDialog.ts b/ts/ui/dialog/DraggableDialog.ts index 901b14b72..75310766f 100644 --- a/ts/ui/dialog/DraggableDialog.ts +++ b/ts/ui/dialog/DraggableDialog.ts @@ -210,6 +210,9 @@ export class DraggableDialog { position: 'fixed', top: '-4%', }, + '.mjx-dialog *': { + 'box-sizing': 'content-box', + }, '.mjx-dialog.mjx-moving': { cursor: 'grabbing', },