Audio: Fix download button for old iOS; Tabs: Support non-native emojis (#1183)
This commit is contained in:
parent
c76fd44a35
commit
7d2e337ead
@ -80,22 +80,22 @@
|
|||||||
|
|
||||||
.download-button {
|
.download-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 0.3rem !important;
|
width: 1.125rem !important;
|
||||||
height: 0.3rem !important;
|
height: 1.125rem !important;
|
||||||
|
padding: 0;
|
||||||
left: 1.5rem;
|
left: 1.5rem;
|
||||||
top: 1.5rem;
|
top: 1.5rem;
|
||||||
border: 2px solid var(--background-color);
|
border: .125rem solid var(--background-color);
|
||||||
z-index: 1;
|
|
||||||
|
|
||||||
i {
|
i {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8125rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.bigger .download-button {
|
&.bigger .download-button {
|
||||||
left: 2rem;
|
left: 2rem;
|
||||||
top: 2rem;
|
top: 2rem;
|
||||||
border: 2px solid var(--color-background);
|
border: .125rem solid var(--color-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|||||||
@ -3,6 +3,7 @@ import React, {
|
|||||||
} from '../../lib/teact/teact';
|
} from '../../lib/teact/teact';
|
||||||
|
|
||||||
import buildClassName from '../../util/buildClassName';
|
import buildClassName from '../../util/buildClassName';
|
||||||
|
import renderText from '../common/helpers/renderText';
|
||||||
|
|
||||||
import './Tab.scss';
|
import './Tab.scss';
|
||||||
|
|
||||||
@ -67,7 +68,7 @@ const Tab: FC<OwnProps> = ({
|
|||||||
ref={tabRef}
|
ref={tabRef}
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
{title}
|
{renderText(title)}
|
||||||
{!!badgeCount && (
|
{!!badgeCount && (
|
||||||
<span className={buildClassName('badge', isBadgeActive && 'active')}>{badgeCount}</span>
|
<span className={buildClassName('badge', isBadgeActive && 'active')}>{badgeCount}</span>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user