mirror of
https://github.com/kbenestad/reimburse.git
synced 2026-06-18 08:04:31 +00:00
Right-align text in FX Rate input to match Amount field
https://claude.ai/code/session_01MbwfxnjLA9KdFTrfzB55HM
This commit is contained in:
parent
1e01329d18
commit
4cad8ed292
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue