diff --git a/web/modules/custom/figli_compta_ledger/css/home.css b/web/modules/custom/figli_compta_ledger/css/home.css index 9825797..7c61261 100644 --- a/web/modules/custom/figli_compta_ledger/css/home.css +++ b/web/modules/custom/figli_compta_ledger/css/home.css @@ -327,7 +327,12 @@ html.gin--dark-mode #figli-home-app { plain text rather than a pill -- a dotted underline is enough of an affordance without implying a fixed set of choices the way the type badge's pill shape does. */ +/* display: block + min-height (not just the default inline text-only + box) so the whole cell is a forgiving click target even when empty -- + the "—" placeholder alone is a tiny, easy-to-miss target otherwise. */ #figli-home-app .figli-editable-cell { + display: block; + min-height: 1.2em; cursor: pointer; border-bottom: 1px dotted transparent; } diff --git a/web/modules/custom/figli_compta_ledger/templates/figli-compta-home.html.twig b/web/modules/custom/figli_compta_ledger/templates/figli-compta-home.html.twig index 74be3e7..3f31e9f 100644 --- a/web/modules/custom/figli_compta_ledger/templates/figli-compta-home.html.twig +++ b/web/modules/custom/figli_compta_ledger/templates/figli-compta-home.html.twig @@ -185,7 +185,7 @@ @blur="editingCell = null" @keyup.enter="$event.target.blur()" /> - {{ item.facture }} + {{ item.facture || '—' }}