feat(editor): inner toolbar layout for block (#11243)

Close [BS-2808](https://linear.app/affine-design/issue/BS-2808/组件内-toolbar-重构)
This commit is contained in:
L-Sun
2025-03-28 03:47:37 +00:00
parent 7193393a06
commit e2c752d56f
8 changed files with 150 additions and 62 deletions

View File

@@ -46,12 +46,8 @@ export class EdgelessTemplatePanel extends WithDisposable(LitElement) {
display: flex;
flex-direction: column;
}
.edgeless-templates-panel[data-app-theme='light'] {
${unsafeCSS(lightToolbarStyles.join('\n'))}
}
.edgeless-templates-panel[data-app-theme='dark'] {
${unsafeCSS(darkToolbarStyles.join('\n'))}
}
${unsafeCSS(lightToolbarStyles('.edgeless-templates-panel'))}
${unsafeCSS(darkToolbarStyles('.edgeless-templates-panel'))}
.search-bar {
padding: 21px 24px;