Commit 6db1da77 authored by Jérome Perrin's avatar Jérome Perrin

xhtml_style: fix invisible cursor in textarea with chrome

With chrome ( 85.0.4183.108 but I think it appears a few weeks/months ago )
when using erp5_xhtml_style when the cursor in the first column on the left
it's not visible, because the bold background hides it.

Default user agent spreadsheet is a 2px padding, but we have a rule applying a
padding 0 for all textarea. Revert this rule for textarea used as fields in
content.


---

## before:

The cursor is in *Description* field, left to "This style is ..." but cannot be seen.

![image](/uploads/f40262af196d799291643604b91ae2c4/image.png)


## after:

The cursor is same location (*Description* field, left to "This style is ...") and this time is visible.

![image](/uploads/bf1ec63532e2eca1fca7655a4581935a/image.png)

See merge request nexedi/erp5!1280
parents 1e31c091 13d98d82
Pipeline #11753 failed with stage
in 0 seconds
...@@ -443,6 +443,10 @@ fieldset.bottom > .field > label { ...@@ -443,6 +443,10 @@ fieldset.bottom > .field > label {
padding-bottom: 3px; padding-bottom: 3px;
} }
.content .field textarea {
padding: revert;
}
.content .field label { .content .field label {
width: 30%; width: 30%;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment