Improve item range selection.

This commit is contained in:
pk
2026-09-27 18:57:33 +02:00
parent 2f3c81e4b2
commit 0291fe46f0
2 changed files with 41 additions and 5 deletions
+7
View File
@@ -36,6 +36,13 @@ class TpTableItem extends BaseElement {
padding: 0;
}
/* Rows are click targets in row-click/ctrl-click selection modes —
a shift+click range gesture must not select their text. Checkbox
tables keep text selectable (selection lives in the checkbox). */
:host([data-selection-mode]) {
user-select: none;
}
.wrap {
display: grid;
grid-template-columns: 0.5fr 3fr 0.5fr 0.5fr 0.5fr; /* Overridden by javascript */