style(chase): no question marks — the dashed dimmed chip says it alone
This commit is contained in:
@@ -1153,7 +1153,7 @@ export function DecodesPanel({ decodes, txMsgs, txState, txStates, spotStatus, o
|
|||||||
title={e?.unconf_status ? t('dec.unconfTip') : undefined}
|
title={e?.unconf_status ? t('dec.unconfTip') : undefined}
|
||||||
className={cn('rounded px-1 py-px text-[10px] font-bold uppercase tracking-wide shrink-0', b.cls,
|
className={cn('rounded px-1 py-px text-[10px] font-bold uppercase tracking-wide shrink-0', b.cls,
|
||||||
e?.unconf_status && 'opacity-60 border border-dashed border-current bg-transparent')}>
|
e?.unconf_status && 'opacity-60 border border-dashed border-current bg-transparent')}>
|
||||||
{t(b.label)}{e?.unconf_status ? '?' : ''}
|
{t(b.label)}
|
||||||
</span>
|
</span>
|
||||||
))}
|
))}
|
||||||
{extras.map((b) => {
|
{extras.map((b) => {
|
||||||
@@ -1174,7 +1174,7 @@ export function DecodesPanel({ decodes, txMsgs, txState, txStates, spotStatus, o
|
|||||||
style={unconf
|
style={unconf
|
||||||
? { borderColor: c, color: c, opacity: 0.45, borderStyle: 'dashed' }
|
? { borderColor: c, color: c, opacity: 0.45, borderStyle: 'dashed' }
|
||||||
: { borderColor: c, color: c }}>
|
: { borderColor: c, color: c }}>
|
||||||
{unconf ? t(b.label) + '?' : t(b.label)}
|
{t(b.label)}
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user