fix(core): adjust setting-modal layout to center tip (#4776)

This commit is contained in:
Cats Juice
2023-10-31 16:10:41 +08:00
committed by GitHub
parent 563863005f
commit 0ad0ab50d0
2 changed files with 9 additions and 1 deletions
@@ -137,7 +137,7 @@ export const SettingModal = ({
<AccountSetting />
) : null}
</div>
<div className="footer">
<div className={style.footer}>
<a
href="https://community.affine.pro/home"
target="_blank"
@@ -25,6 +25,7 @@ export const centerContainer = style({
export const content = style({
width: '100%',
marginBottom: '24px',
minHeight: 'calc(100% - 48px)',
});
export const suggestionLink = style({
@@ -39,3 +40,10 @@ export const suggestionLinkIcon = style({
marginRight: '12px',
display: 'flex',
});
export const footer = style({
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
paddingBottom: '20px',
});