Listview/Conditions

* make column width flex
This commit is contained in:
Sarjuuk
2025-11-19 15:34:02 +01:00
parent 9db3e766da
commit 9b905883df
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1 @@
UPDATE `aowow_dbversion` SET `build` = CONCAT(IFNULL(`build`, ''), ' globaljs');

View File

@@ -2945,7 +2945,6 @@ Listview.extraCols = {
id: 'condition', id: 'condition',
name: LANG.tab_conditions, name: LANG.tab_conditions,
type: 'text', type: 'text',
width: '25%',
compute: function(row, td) compute: function(row, td)
{ {
if (!row.condition) if (!row.condition)
@@ -2954,6 +2953,7 @@ Listview.extraCols = {
td.className = 'small'; td.className = 'small';
td.style.lineHeight = '18px'; td.style.lineHeight = '18px';
td.style.textAlign = 'left'; td.style.textAlign = 'left';
td.style.whiteSpace = 'nowrap';
// tiny links are hard to hit, hmkey? // tiny links are hard to hit, hmkey?
td.onclick = (e) => $WH.sp(e); td.onclick = (e) => $WH.sp(e);