Skip to content

Commit

Permalink
chore: fix code-block styles
Browse files Browse the repository at this point in the history
  • Loading branch information
juliopavila committed Jul 24, 2023
1 parent a5edd65 commit 4904b24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/components/commons/Editor/EditorBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ const EditorBlockItem: React.FC<EditorBlockItemProps> = (props) => {
sx={{
position: "relative",
cursor: "text",
mt: 1,
mb: isBlockFocused && isEmpty && isFocused ? 1 : 0,
mt: type.includes("code-block") ? 0 : 1,

"&:hover .rich-text": {
opacity: 1,
},
Expand Down

0 comments on commit 4904b24

Please sign in to comment.