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}
|
slot={slot}
|
||||||
style={style}
|
style={style}
|
||||||
>
|
>
|
||||||
|
<div style={{ display: 'flex', alignItems: 'center', width: '100%' }}>
|
||||||
{showNumber && number !== undefined && (
|
{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">
|
<div className="text-lg font-bold text-gray-500">
|
||||||
{number}
|
{number}
|
||||||
</div>
|
</div>
|
||||||
</IonLabel>
|
</IonLabel>
|
||||||
)}
|
)}
|
||||||
|
<IonLabel style={{ flex: '1 1 0%', margin: '0 10px' }}>
|
||||||
<IonLabel>
|
|
||||||
<div
|
<div
|
||||||
className="ion-text-bold"
|
className="ion-text-bold"
|
||||||
style={{
|
style={{
|
||||||
@ -101,10 +101,9 @@ export const ListItem = React.memo(forwardRef<HTMLIonItemElement, GenericListIte
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</IonLabel>
|
</IonLabel>
|
||||||
|
<div style={{ flex: '0 0 auto' }}>{children}</div>
|
||||||
{children}
|
<div style={{ flex: '0 0 auto' }}>{endContent}</div>
|
||||||
{endContent}
|
</div>
|
||||||
|
|
||||||
{showChevron && (
|
{showChevron && (
|
||||||
<IonIcon
|
<IonIcon
|
||||||
slot="end"
|
slot="end"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user