diff --git a/blocksuite/affine/blocks/block-note/src/configs/toolbar.ts b/blocksuite/affine/blocks/block-note/src/configs/toolbar.ts index 178791643..dc13d2cef 100644 --- a/blocksuite/affine/blocks/block-note/src/configs/toolbar.ts +++ b/blocksuite/affine/blocks/block-note/src/configs/toolbar.ts @@ -110,8 +110,8 @@ const builtinSurfaceToolbarConfig = { ); const label$ = computed(() => firstModel.props.displayMode$.value === NoteDisplayMode.EdgelessOnly - ? 'Display In Page' - : 'Displayed In Page' + ? 'Display in Page' + : 'Displayed in Page' ); const onSelect = () => { const newMode = @@ -547,7 +547,7 @@ function setDisplayMode( const notification = ctx.std.getOptional(NotificationProvider); notification?.notify({ title: data.title, - message: `${data.message}. Find it in the TOC for quick navigation.`, + message: `${data.message} Find it in the TOC for quick navigation.`, accent: 'success', duration: 5 * 1000, footer: html`
diff --git a/blocksuite/affine/components/src/toolbar/tooltip.ts b/blocksuite/affine/components/src/toolbar/tooltip.ts index a516ea62b..99aad4dd5 100644 --- a/blocksuite/affine/components/src/toolbar/tooltip.ts +++ b/blocksuite/affine/components/src/toolbar/tooltip.ts @@ -29,7 +29,7 @@ const styles = css` overflow-wrap: anywhere; white-space: normal; - word-break: break-all; + word-break: break-word; } .arrow {