Fix writing mode not working on buttons in chrome
This commit is contained in:
@@ -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}
|
||||||
>
|
>
|
||||||
|
<div style:writing-mode={writingMode}>
|
||||||
{#each lines as line}
|
{#each lines as line}
|
||||||
<p>{line}</p>
|
<p>{line}</p>
|
||||||
{/each}
|
{/each}
|
||||||
|
</div>
|
||||||
</button>
|
</button>
|
||||||
{/each}
|
{/each}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user