Fix cursor on disabled contenteditable divs
The cursor should be a default cursor, as the text cursor implies that text can be introduced. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
cf771c5816
commit
914172690c
|
@ -126,7 +126,6 @@ div[contenteditable=false] {
|
||||||
border: 1px solid var(--color-background-darker);
|
border: 1px solid var(--color-background-darker);
|
||||||
outline: none;
|
outline: none;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
cursor: text;
|
|
||||||
|
|
||||||
background-color: var(--color-background-dark);
|
background-color: var(--color-background-dark);
|
||||||
color: var(--color-text-lighter);
|
color: var(--color-text-lighter);
|
||||||
|
@ -229,7 +228,6 @@ textarea, div[contenteditable=true] {
|
||||||
|
|
||||||
div[contenteditable=false] {
|
div[contenteditable=false] {
|
||||||
color: var(--color-text-lighter);
|
color: var(--color-text-lighter);
|
||||||
cursor: text;
|
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue