Improve item range selection.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user