mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 20:41:50 +08:00
fix(core): adjust workspace selector style in import page (#12916)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated padding for workspace selector elements to provide a more uniform appearance. - Adjusted container height and workspace selector width for improved layout consistency. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -44,5 +44,5 @@ export const workspaceSelector = style({
|
|||||||
margin: '0 -16px',
|
margin: '0 -16px',
|
||||||
width: 'calc(100% + 32px)',
|
width: 'calc(100% + 32px)',
|
||||||
border: `1px solid ${cssVarV2('layer/insideBorder/border')}`,
|
border: `1px solid ${cssVarV2('layer/insideBorder/border')}`,
|
||||||
padding: '0 16px',
|
padding: '6px',
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ export const container = style({
|
|||||||
margin: '0 auto',
|
margin: '0 auto',
|
||||||
color: cssVarV2('text/primary'),
|
color: cssVarV2('text/primary'),
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
|
height: 'calc(100% - 48px)',
|
||||||
});
|
});
|
||||||
|
|
||||||
export const authHeader = style({
|
export const authHeader = style({
|
||||||
@@ -47,8 +48,7 @@ export const mainButton = style({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const workspaceSelector = style({
|
export const workspaceSelector = style({
|
||||||
margin: '0 -16px',
|
width: '100%',
|
||||||
width: 'calc(100% + 32px)',
|
|
||||||
border: `1px solid ${cssVarV2('layer/insideBorder/border')}`,
|
border: `1px solid ${cssVarV2('layer/insideBorder/border')}`,
|
||||||
padding: '0 16px',
|
padding: 6,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user