fix(entry): the State field was defined but never rendered
stateBlock was built and then not placed in the row — the field simply did not exist on screen. Now between QTH and the locator, where it was meant to go. Left column 210 → 230px, and Comment and Note move onto ONE line side by side: two fields that are usually a few words each were taking two full rows of the entry strip. That frees a row for whatever goes there next.
This commit is contained in:
@@ -5895,25 +5895,27 @@ export default function App() {
|
|||||||
to be pushed outside the entry panel and clipped. Wrapping drops
|
to be pushed outside the entry panel and clipped. Wrapping drops
|
||||||
it to its own line instead, which stays readable. */}
|
it to its own line instead, which stays readable. */}
|
||||||
<div className="flex gap-4 items-end flex-wrap">
|
<div className="flex gap-4 items-end flex-wrap">
|
||||||
<div className="flex flex-col w-[210px] shrink-0"><Label className="mb-1 h-3.5">{t('field.name')}</Label>
|
<div className="flex flex-col w-[230px] shrink-0"><Label className="mb-1 h-3.5">{t('field.name')}</Label>
|
||||||
<Input value={name} onChange={(e) => { setName(e.target.value); markEdited('name'); }}
|
<Input value={name} onChange={(e) => { setName(e.target.value); markEdited('name'); }}
|
||||||
onBlur={() => setName(titleCase)} />
|
onBlur={() => setName(titleCase)} />
|
||||||
</div>
|
</div>
|
||||||
{qthBlock}
|
{qthBlock}
|
||||||
|
{stateBlock}
|
||||||
{gridBlock}
|
{gridBlock}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Row 3: tight left detail column (Band/Mode/Country) and
|
{/* Row 3: tight left detail column (Band/Mode/Country) and
|
||||||
single-line Comment/Note on the right. */}
|
Comment/Note SIDE BY SIDE on the right — one line each was a lot
|
||||||
|
of vertical space for two fields that are usually short. */}
|
||||||
<div className="flex gap-4 items-start">
|
<div className="flex gap-4 items-start">
|
||||||
<div className="flex flex-col gap-1.5 w-[210px] shrink-0">
|
<div className="flex flex-col gap-1.5 w-[230px] shrink-0">
|
||||||
{bandRow}
|
{bandRow}
|
||||||
{modeRow}
|
{modeRow}
|
||||||
{countryRow}
|
{countryRow}
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col gap-1.5 flex-1 min-w-0">
|
<div className="flex gap-4 flex-1 min-w-0">
|
||||||
{commentLine}
|
<div className="flex-1 min-w-0">{commentLine}</div>
|
||||||
{noteLine}
|
<div className="flex-1 min-w-0">{noteLine}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user