UBER-760, UBER-827: fix new tab opening. Fix underlined message (#3672)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2023-09-08 21:02:08 +05:00 committed by GitHub
parent 9dc5c2f52e
commit 28be42ee92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -60,7 +60,7 @@
class:colorInherit
class:fs-bold={accent}
style:flex-shrink={shrink}
on:click={clickHandler}
on:click|stopPropagation={clickHandler}
>
<slot />
</span>
@ -73,7 +73,7 @@
class:colorInherit
class:fs-bold={accent}
style:flex-shrink={shrink}
on:click={clickHandler}
on:click|stopPropagation={clickHandler}
>
<slot />
</a>

View File

@ -64,6 +64,8 @@
<em><svelte:self nodes={node.childNodes} /></em>
{:else if node.nodeName === 'STRONG' || node.nodeName === 'B'}
<strong><svelte:self nodes={node.childNodes} /></strong>
{:else if node.nodeName === 'U'}
<u><svelte:self nodes={node.childNodes} /></u>
{:else if node.nodeName === 'P'}
{#if node.childNodes.length > 0}
<p class="p-inline contrast">