Put base currency on the same row as staff and period

Switch claimant card from cols-3 (staff | period-group | currency on
its own row) to cols-4 (staff | from | to | currency), all one line.

https://claude.ai/code/session_01JyuActqTJG5tuRQNLmT7fZ
This commit is contained in:
Claude 2026-06-08 05:02:31 +00:00
parent 364cac2155
commit 6787fd15a2
No known key found for this signature in database

View file

@ -825,13 +825,10 @@ function render() {
const claimCard = el('div', {className:'kb-card'}); const claimCard = el('div', {className:'kb-card'});
claimCard.appendChild(el('h2', {className:'kb-card__title'}, 'Claimant')); claimCard.appendChild(el('h2', {className:'kb-card__title'}, 'Claimant'));
const claimGrid = el('div', {className:'kb-grid cols-3'}); const claimGrid = el('div', {className:'kb-grid cols-4'});
claimGrid.appendChild(kbField('Staff', staffWrap, {cls:''})); claimGrid.appendChild(kbField('Staff', staffWrap));
// Period from + to span col 2-3 claimGrid.appendChild(kbField('Period from', fromInput));
const periodGroup = el('div', {style:{display:'grid', gridTemplateColumns:'1fr 1fr', gap:'14px 16px', gridColumn:'span 2'}}); claimGrid.appendChild(kbField('Period to', toInput));
periodGroup.appendChild(kbField('Period from', fromInput));
periodGroup.appendChild(kbField('Period to', toInput));
claimGrid.appendChild(periodGroup);
claimGrid.appendChild(kbField('Base currency', baseCurDD)); claimGrid.appendChild(kbField('Base currency', baseCurDD));
claimCard.appendChild(claimGrid); claimCard.appendChild(claimGrid);
wrap.appendChild(claimCard); wrap.appendChild(claimCard);