mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix field descriptions blocking cursor from being set (#2018)
- happens when focus is in HTML editor
This commit is contained in:
parent
c7f3bae738
commit
678c354fed
1 changed files with 5 additions and 2 deletions
|
@ -32,10 +32,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<style>
|
||||
.field-description {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
|
||||
cursor: text;
|
||||
opacity: 0.4;
|
||||
pointer-events: none;
|
||||
|
||||
/* same as in ContentEditable */
|
||||
padding: 6px;
|
||||
|
|
Loading…
Reference in a new issue