fix(editor): improve some experiences on note toolbar (#11413)

Closes: [BS-3004](https://linear.app/affine-design/issue/BS-3004/page-block-ui-adjust)
This commit is contained in:
fundon
2025-04-02 13:11:33 +00:00
parent 0f18585631
commit fde97dcf78
2 changed files with 4 additions and 4 deletions

View File

@@ -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`<div class=${styles.viewInPageNotifyFooter}>

View File

@@ -29,7 +29,7 @@ const styles = css`
overflow-wrap: anywhere;
white-space: normal;
word-break: break-all;
word-break: break-word;
}
.arrow {