mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 11:57:02 -04:00
Translate: Make translation more readable (#3252)
This commit is contained in:
parent
a366693e96
commit
b35b72c066
2 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,7 @@ export function TranslationAccessory({ message }: { message: Message; }) {
|
||||||
<span className={cl("accessory")}>
|
<span className={cl("accessory")}>
|
||||||
<TranslateIcon width={16} height={16} className={cl("accessory-icon")} />
|
<TranslateIcon width={16} height={16} className={cl("accessory-icon")} />
|
||||||
{Parser.parse(translation.text)}
|
{Parser.parse(translation.text)}
|
||||||
{" "}
|
<br />
|
||||||
(translated from {translation.sourceLanguage} - <Dismiss onDismiss={() => setTranslation(undefined)} />)
|
(translated from {translation.sourceLanguage} - <Dismiss onDismiss={() => setTranslation(undefined)} />)
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
line-height: 1.2rem;
|
||||||
|
white-space: break-spaces;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vc-trans-accessory-icon {
|
.vc-trans-accessory-icon {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue