Right-align text in FX Rate input to match Amount field

https://claude.ai/code/session_01MbwfxnjLA9KdFTrfzB55HM
This commit is contained in:
Claude 2026-05-24 16:21:00 +00:00
parent 1e01329d18
commit 4cad8ed292
No known key found for this signature in database

View file

@ -366,7 +366,7 @@ function renderLine(ln, item) {
if (progAreaEl) progAreaEl._refresh(); if (progAreaEl) progAreaEl._refresh();
}); });
const fxIn = el('input', {type:'text', value: ln.fxRate, style:{width:'120px'}, placeholder:'0.00000'}); const fxIn = el('input', {type:'text', value: ln.fxRate, style:{width:'120px', textAlign:'right'}, placeholder:'0.00000'});
fxIn.readOnly = ln.currency === baseCur; fxIn.readOnly = ln.currency === baseCur;
fxIn.className = 'tip'; fxIn.className = 'tip';
fxIn.dataset.tip = `Units of ${ln.currency || '?'} per 1 ${baseCur}`; fxIn.dataset.tip = `Units of ${ln.currency || '?'} per 1 ${baseCur}`;