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:
Peng Xiao
2025-07-04 20:46:45 +08:00
committed by GitHub
parent 6f9c1554b7
commit ec510bc140
2 changed files with 160 additions and 127 deletions
@@ -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({