fix(core): adjust setting-modal layout to center tip (#4776)
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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',
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user