v3.11.0 editor polish: fixed TAR table layout, ADM placeholder
The TAR table used the default auto layout with w-full, so the browser distributed the surplus width across all columns and TAR/MSL/description looked evenly spread. table-fixed with explicit column widths (TAR w-28, MSL w-20, action w-12; the description column takes the remainder) and w-full inputs keep the first two columns tight and left-packed. The ADM placeholder is just "ADM" now. sw cache simple-v365. Tests: 665 Python + 787 frontend green; the whole inline PWA script syntax-checked.
This commit is contained in:
@@ -535,8 +535,8 @@ test('packing without a selected preset uses the spec default TAR', () => {
|
||||
test('the TAR row values are left-aligned like the headers', () => {
|
||||
const out = cardsTarRowHtml({ tar: 'AF4D01', msl: '0A', desc: 'x' }, 3);
|
||||
assert.doesNotMatch(out, /text-center/);
|
||||
assert.match(out, /<td class="py-1 px-2"><input id="cards-tr-3-tar"/);
|
||||
assert.match(out, /<td class="py-1 px-2"><input id="cards-tr-3-msl"/);
|
||||
assert.match(out, /<td class="py-1 px-2"><input id="cards-tr-3-tar" class="w-full/);
|
||||
assert.match(out, /<td class="py-1 px-2"><input id="cards-tr-3-msl" class="w-full/);
|
||||
});
|
||||
|
||||
test('the TAR table renders the role rows and adds/removes free rows', () => {
|
||||
|
||||
Reference in New Issue
Block a user