Skip to content

Commit

Permalink
fix: resize时markdown编辑器宽度未正确展示
Browse files Browse the repository at this point in the history
  • Loading branch information
codexu committed Jan 20, 2025
1 parent f194089 commit 4f1fd63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/core/article/md-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,6 @@ export function MdEditor() {
onChange={handleSave}
onUploadImg={onUploadImg}
onDrop={dropHandler}
/>;
/>
</div>
}
1 change: 0 additions & 1 deletion src/app/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ html, body {

#aritcle-md-editor{
height: calc(100vh - 48px);
width: calc(100vw - 329px);
}

::-webkit-scrollbar {
Expand Down

0 comments on commit 4f1fd63

Please sign in to comment.