Fix writing mode not working on buttons in chrome

This commit is contained in:
ZXY101
2023-09-25 13:23:01 +02:00
parent aa55c54667
commit 476c92ccc5

View File

@@ -62,16 +62,17 @@
style:left style:left
style:top style:top
style:font-size={fontSize} style:font-size={fontSize}
style:writing-mode={writingMode}
style:font-weight={fontWeight} style:font-weight={fontWeight}
style:display style:display
style:border style:border
on:dblclick={() => onUpdateCard(lines)} on:dblclick={() => onUpdateCard(lines)}
{contenteditable} {contenteditable}
> >
{#each lines as line} <div style:writing-mode={writingMode}>
<p>{line}</p> {#each lines as line}
{/each} <p>{line}</p>
{/each}
</div>
</button> </button>
{/each} {/each}