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

View File

@@ -137,7 +137,7 @@ export const SettingModal = ({
<AccountSetting /> <AccountSetting />
) : null} ) : null}
</div> </div>
<div className="footer"> <div className={style.footer}>
<a <a
href="https://community.affine.pro/home" href="https://community.affine.pro/home"
target="_blank" target="_blank"

View File

@@ -25,6 +25,7 @@ export const centerContainer = style({
export const content = style({ export const content = style({
width: '100%', width: '100%',
marginBottom: '24px', marginBottom: '24px',
minHeight: 'calc(100% - 48px)',
}); });
export const suggestionLink = style({ export const suggestionLink = style({
@@ -39,3 +40,10 @@ export const suggestionLinkIcon = style({
marginRight: '12px', marginRight: '12px',
display: 'flex', display: 'flex',
}); });
export const footer = style({
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
paddingBottom: '20px',
});