mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-13 18:50:29 +03:00
Localize fonts
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
ed27e6b8e4
commit
3d7e509f9a
43 changed files with 378 additions and 77 deletions
|
|
@ -68,7 +68,7 @@ function PopupWindow({
|
|||
<Header>
|
||||
<IconButton size="small" src={ChevronLeftIC} onClick={onRequestClose} tooltip="Back" />
|
||||
<TitleWrapper>
|
||||
<Text variant="s1">{twemojify(title)}</Text>
|
||||
<Text variant="s1" weight="medium" primary>{twemojify(title)}</Text>
|
||||
</TitleWrapper>
|
||||
{drawerOptions}
|
||||
</Header>
|
||||
|
|
@ -84,7 +84,7 @@ function PopupWindow({
|
|||
<div className="pw__content">
|
||||
<Header>
|
||||
<TitleWrapper>
|
||||
<Text variant="h2">{twemojify(contentTitle !== null ? contentTitle : title)}</Text>
|
||||
<Text variant="h2" weight="medium" primary>{twemojify(contentTitle !== null ? contentTitle : title)}</Text>
|
||||
</TitleWrapper>
|
||||
{contentOptions}
|
||||
</Header>
|
||||
|
|
|
|||
|
|
@ -53,10 +53,11 @@
|
|||
& .header {
|
||||
padding-left: var(--sp-tight);
|
||||
& .header__title-wrapper {
|
||||
margin: 0 var(--sp-extra-tight);
|
||||
margin: 0 var(--sp-extra-tight) 0 var(--sp-ultra-tight);
|
||||
}
|
||||
[dir=rtl] & {
|
||||
padding-right: var(--sp-tight);
|
||||
padding-right: var(--sp-tight);
|
||||
margin: 0 var(--sp-ultra-tight) 0 var(--sp-extra-tight);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue