mermaid icon indicating copy to clipboard operation
mermaid copied to clipboard

Subscripts are bunched in a corner in Safari

Open Sjors opened this issue 4 months ago • 0 comments

Description

Given the example below, it renders fine in Chrome, but bunches up the subscripts in a corner in Safari.

Steps to reproduce

Enter the below code in the live editor. Check in Safari vs Chrome.

Here it is in the live in the editor (I also tried the develop version). https://mermaid.live/edit#pako:eNpdkMsKgzAQRX8lzFopvsGKi9I_aHdNF6mZVsGo2MmiiP_eiHQKWSWZc-6FzALNqBFKeM1qasXpKgchBGU3CVS97aPOqsN2SLiLMKwFxUxiJsc9lDPK_dDP2J8Ji4knRkwiv71gVHihlEn6D0EABmejOu0-t2wVTmrRoITSXTU-le1JghxWpypL4-UzNFDSbDEAO2lFeO6UW4vZh-sX-0ZbnA

Screenshots

In Safari on both macOS 13.6.4 and 14.3.1 it looks like this: Scherm­afbeelding 2024-02-28 om 10 56 52

In Chrome it looks correct: Scherm­afbeelding 2024-02-28 om 10 57 44

Code Sample

graph BT
   t5["t<sub>5</sub>"] --> t2["t<sub>2</sub>"];
   t6["t<sub>6</sub>"] --> t2;
   t6 --> t3["t<sub>3</sub>"] --> t1["t<sub>1</sub>"];
   t7["t<sub>7</sub>"] --> t4["t<sub>4</sub>"];

Setup

No response

Suggested Solutions

No response

Additional Context

No response

Sjors avatar Feb 28 '24 10:02 Sjors