Signed-off-by: mbrucedogs <mbrucedogs@gmail.com>
This commit is contained in:
parent
589f6b3ad5
commit
43bb456058
@ -67,15 +67,15 @@ export const ListItem = React.memo(forwardRef<HTMLIonItemElement, GenericListIte
|
||||
slot={slot}
|
||||
style={style}
|
||||
>
|
||||
<div style={{ display: 'flex', alignItems: 'center', width: '100%' }}>
|
||||
{showNumber && number !== undefined && (
|
||||
<IonLabel slot="start" className="flex-shrink-0 mr-4">
|
||||
<IonLabel slot="start" className="flex-shrink-0 mr-4" style={{ flex: '0 0 auto' }}>
|
||||
<div className="text-lg font-bold text-gray-500">
|
||||
{number}
|
||||
</div>
|
||||
</IonLabel>
|
||||
)}
|
||||
|
||||
<IonLabel>
|
||||
<IonLabel style={{ flex: '1 1 0%', margin: '0 10px' }}>
|
||||
<div
|
||||
className="ion-text-bold"
|
||||
style={{
|
||||
@ -101,10 +101,9 @@ export const ListItem = React.memo(forwardRef<HTMLIonItemElement, GenericListIte
|
||||
</div>
|
||||
)}
|
||||
</IonLabel>
|
||||
|
||||
{children}
|
||||
{endContent}
|
||||
|
||||
<div style={{ flex: '0 0 auto' }}>{children}</div>
|
||||
<div style={{ flex: '0 0 auto' }}>{endContent}</div>
|
||||
</div>
|
||||
{showChevron && (
|
||||
<IonIcon
|
||||
slot="end"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user