mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 05:54:19 +01:00
fix: preserve spaces in localized text
This commit is contained in:
@@ -66,7 +66,7 @@ const ReactionDisplay: Component<ReactionDisplayProps> = (props) => {
|
||||
>
|
||||
<UserDisplayName pubkey={props.event.pubkey} />
|
||||
</button>
|
||||
<span class="shrink-0">{i18n.t('notification.reacted')}</span>
|
||||
<span class="shrink-0 whitespace-pre">{i18n.t('notification.reacted')}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-xs">{formatDate(event().createdAtAsDate())}</div>
|
||||
|
||||
@@ -38,7 +38,7 @@ const Repost: Component<RepostProps> = (props) => {
|
||||
>
|
||||
<UserDisplayName pubkey={props.event.pubkey} />
|
||||
</button>
|
||||
<span class="shrink-0">{i18n.t('notification.reposted')}</span>
|
||||
<span class="shrink-0 whitespace-pre">{i18n.t('notification.reposted')}</span>
|
||||
</div>
|
||||
<div class="text-xs">{formatDate(event().createdAtAsDate())}</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user