Skip to content

Commit

Permalink
将工具栏的定位方式更改为固定,以改善用户界面体验
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Nov 22, 2024
1 parent 43e44f9 commit 599c0db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MarkdownEditor/editor/tools/ToolBar/FloatBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export const FloatBar = observer((props: { readonly: boolean }) => {
style={{
left: state.left,
top: state.top,
position: 'fixed',
display: state.open ? undefined : 'none',
}}
onMouseDown={(e) => {
Expand Down

1 comment on commit 599c0db

@vercel
Copy link

@vercel vercel bot commented on 599c0db Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.