Merged in fix/SW-3325-hotelcard-mobile-show-alert-left-align (pull request #2725)

fix(SW-3325): show alert in hotel card mobile and left align text

* fix(SW-3325): show alert in hotel card mobile and left align text


Approved-by: Joakim Jäderberg
This commit is contained in:
Bianca Widstam
2025-08-28 12:04:43 +00:00
parent 784c353b1e
commit 8a53e97e5f
4 changed files with 19 additions and 42 deletions

View File

@@ -4,7 +4,6 @@ import { useState } from "react"
import { Button as ButtonRAC } from "react-aria-components"
import { useIntl } from "react-intl"
import { Alert } from "@scandic-hotels/design-system/Alert"
import { FacilityToIcon } from "@scandic-hotels/design-system/FacilityToIcon"
import { Typography } from "@scandic-hotels/design-system/Typography"
@@ -84,15 +83,8 @@ export default function HotelDescription({
defaultMessage: "See all amenities",
})}
buttonVariant="primary"
wrapping={false}
/>
{hotel.specialAlerts.map((alert) => (
<Alert
key={alert.id}
type={alert.type}
heading={alert.heading}
text={alert.text}
/>
))}
</div>
)}
</div>