Skip to content

Commit 94e4783

Browse files
committed
chore: slight transition and coloring
1 parent 56aaca8 commit 94e4783

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

web/src/styles/mdxEditorTheme.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import styled, { createGlobalStyle, css } from "styled-components";
22

33
const sharedContentStyles = css`
4-
.mdxeditor-root-contenteditable div {
5-
padding: 0;
4+
.mdxeditor-root-contenteditable {
5+
transition: background-color 0.1s ease !important;
6+
:hover {
7+
background-color: ${({ theme }) => theme.lightGrey}60 !important;
8+
}
69
}
710
811
.mdxeditor-root-contenteditable p {

0 commit comments

Comments
 (0)