mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 17:46:18 +08:00
fix(core): some style issues (#13039)
#### PR Dependency Tree * **PR #13039** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Streamlined and unified the rendering and update flow for the document compose tool, improving clarity and responsiveness of the UI. * Enhanced error handling and updated preview panel interactions for a smoother user experience. * **Style** * Improved sidebar header layout: increased header height, added sticky positioning, adjusted padding, and updated background color for better visibility and usability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -6,7 +6,6 @@ export const container = style({
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'stretch',
|
||||
paddingTop: '8px',
|
||||
paddingBottom: '64px',
|
||||
position: 'relative',
|
||||
minHeight: '100%',
|
||||
@@ -16,9 +15,13 @@ export const header = style({
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between',
|
||||
alignItems: 'center',
|
||||
padding: '0 16px',
|
||||
padding: '8px 16px 0 16px',
|
||||
gap: '8px',
|
||||
height: '32px',
|
||||
height: '40px',
|
||||
position: 'sticky',
|
||||
top: 0,
|
||||
backgroundColor: cssVarV2('layer/background/overlayPanel'),
|
||||
zIndex: 2,
|
||||
});
|
||||
|
||||
export const headerTitle = style({
|
||||
|
||||
Reference in New Issue
Block a user