mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
chore: replace lang icon (#2281)
This commit is contained in:
@@ -96,6 +96,12 @@ export const linkStyle = style({
|
||||
flexDirection: 'row',
|
||||
justifyContent: 'flex-start',
|
||||
alignItems: 'center',
|
||||
maxWidth: 'calc(100% - 32px)',
|
||||
});
|
||||
export const linkTextStyle = style({
|
||||
whiteSpace: 'nowrap',
|
||||
textOverflow: 'ellipsis',
|
||||
overflow: 'hidden',
|
||||
});
|
||||
export const iconStyle = style({
|
||||
fontSize: '20px',
|
||||
|
||||
@@ -12,6 +12,7 @@ import {
|
||||
iconButtonStyle,
|
||||
iconStyle,
|
||||
linkStyle,
|
||||
linkTextStyle,
|
||||
} from './index.css';
|
||||
|
||||
type ChangeLogProps = {
|
||||
@@ -47,7 +48,7 @@ export const ChangeLog = (props: ChangeLogProps) => {
|
||||
}}
|
||||
>
|
||||
<NewIcon className={iconStyle} />
|
||||
{t["Discover what's new!"]()}
|
||||
<div className={linkTextStyle}>{t["Discover what's new!"]()}</div>
|
||||
</div>
|
||||
<IconButton
|
||||
className={iconButtonStyle}
|
||||
|
||||
@@ -109,7 +109,7 @@ export const ContactModal = ({
|
||||
})}
|
||||
</FlexWrapper>
|
||||
<StyledSubTitle>
|
||||
{t['Get in touch! Join our communities.']()}
|
||||
{t['Get in touch! Join our communities']()}
|
||||
</StyledSubTitle>
|
||||
<FlexWrapper justifyContent="center">
|
||||
{linkList.map(({ icon, title, link }) => {
|
||||
|
||||
Reference in New Issue
Block a user