mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
chore(editor): remove edgeless element toolbar (#10900)
This commit is contained in:
@@ -232,7 +232,7 @@ export function renderToolbar(
|
||||
`${flavour}:${key}`,
|
||||
html`
|
||||
<editor-menu-button
|
||||
class="more-menu"
|
||||
aria-label="more-menu"
|
||||
.contentPadding="${'8px'}"
|
||||
.button=${html`
|
||||
<editor-icon-button aria-label="More" .tooltip="${'More'}">
|
||||
@@ -319,7 +319,9 @@ function renderActionItem(action: ToolbarAction, context: ToolbarContext) {
|
||||
@click=${() => action.run?.(context)}
|
||||
>
|
||||
${action.icon}
|
||||
${action.label ? html`<span class="label">${action.label}</span>` : null}
|
||||
${action.showLabel && action.label
|
||||
? html`<span class="label">${action.label}</span>`
|
||||
: null}
|
||||
</editor-icon-button>
|
||||
`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user