From 930ae086a7fdbeb100e37c51dabcf15e0e2d5476 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 3 Oct 2024 12:54:27 +0300 Subject: [PATCH] postupdate --- src/components/Editor/Toolbar/MicroBubbleMenu.tsx | 3 ++- src/styles/app.scss | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Editor/Toolbar/MicroBubbleMenu.tsx b/src/components/Editor/Toolbar/MicroBubbleMenu.tsx index 0c532a32..3bb43fe6 100644 --- a/src/components/Editor/Toolbar/MicroBubbleMenu.tsx +++ b/src/components/Editor/Toolbar/MicroBubbleMenu.tsx @@ -20,7 +20,8 @@ export const MicroBubbleMenu = (props: MicroBubbleMenuProps) => { const isActive = (name: string, attributes?: Record) => createEditorTransaction( - () => props.editor, + // biome-ignore lint/suspicious/noExplicitAny: tiptap 2.8.0 typing + () => props.editor as any, (editor) => editor?.isActive(name, attributes) ) diff --git a/src/styles/app.scss b/src/styles/app.scss index 694c9be6..5a1b2691 100644 --- a/src/styles/app.scss +++ b/src/styles/app.scss @@ -1011,7 +1011,7 @@ details { display: -webkit-box !important; overflow: hidden; position: relative; - -webkit-line-clamp: 2; + line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }