mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 07:26:19 +00:00
🆙 Upgrade to tailwind css 4.2.0
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ export const NotificationDefaultAlertView: FC<NotificationDefaultAlertViewProps>
|
||||
return (
|
||||
<LayoutNotificationAlertView title={ title } onClose={ onClose } { ...rest } type={ hasFrank ? NotificationAlertType.DEFAULT : item.alertType }>
|
||||
<Flex fullHeight gap={ hasFrank || (item.imageUrl && !imageFailed) ? 2 : 0 } overflow="auto">
|
||||
{ hasFrank && !item.imageUrl && <div className="notification-frank flex-shrink-0" /> }
|
||||
{ hasFrank && !item.imageUrl && <div className="notification-frank shrink-0" /> }
|
||||
{ item.imageUrl && !imageFailed && <img alt={ item.title } className="align-self-baseline" src={ item.imageUrl } onError={ () =>
|
||||
{
|
||||
setImageFailed(true);
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ export const NotificationClubGiftBubbleView: FC<NotificationClubGiftBubbleViewPr
|
||||
return (
|
||||
<LayoutNotificationBubbleView className="flex-col nitro-notification-bubble" fadesOut={ false } onClose={ onClose } { ...rest }>
|
||||
<div className="flex items-center gap-2 mb-2">
|
||||
<LayoutCurrencyIcon className="flex-shrink-0" type="hc" />
|
||||
<LayoutCurrencyIcon className="shrink-0" type="hc" />
|
||||
<span className="ms-1">{ LocalizeText('notifications.text.club_gift') }</span>
|
||||
</div>
|
||||
<div className="flex items-center justify-end gap-2">
|
||||
|
||||
Reference in New Issue
Block a user