Skip to content

Commit

Permalink
Fix full editor width change when change tab to video
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Mar 18, 2024
1 parent c45d8a8 commit 93fa011
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/posts/editor/FullEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ const FullEditor = ({
<Row className={styles.EditorContainer} gutter={[16, 16]} justify='center'>
<Col
style={{ minWidth: 0 }}
className={clsx('d-flex align-items-stretch flex-column', styles.EditorBodyContent)}
className={clsx(
'd-flex align-items-stretch flex-column',
styles.EditorBodyContentContainer,
)}
>
<Card className={clsx(styles.EditorBodyContent, 'mb-3')}>
<Form.Item
Expand Down
3 changes: 3 additions & 0 deletions src/components/posts/editor/index.module.sass
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
\:global .ant-tabs-nav
margin: 0

.EditorBodyContentContainer
width: $max_width_content

.AdvancedBody
width: 325px

Expand Down

0 comments on commit 93fa011

Please sign in to comment.