From d8d8fc4b36b40d1019182002dc966fa920b0444d Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Mon, 15 Dec 2025 08:42:25 -0500 Subject: [PATCH] Fix position of inline help icon caused by changes in #1350 --- ts/a11y/explorer.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ts/a11y/explorer.ts b/ts/a11y/explorer.ts index 307213e6a..598a13195 100644 --- a/ts/a11y/explorer.ts +++ b/ts/a11y/explorer.ts @@ -406,15 +406,19 @@ export function ExplorerMathDocumentMixin< 'mjx-container > mjx-help': { display: 'none', - position: 'sticky', - inset: '-100% 0 100% 0', - margin: '-.3em -.5em 0 -.1em', + position: 'absolute', + top: '-.3em', + right: '-.5em', width: '.6em', height: '.6em', cursor: 'pointer', }, 'mjx-container[display="true"] > mjx-help': { + position: 'sticky', + inset: '-100% 0 100% 0', + margin: '-.3em -.5em 0 -.1em', right: 0, + top: 'initial', }, 'mjx-help > svg': { stroke: 'black',