Merged in fix/STAY-37-arrow-margin (pull request #3236)

Fix/STAY-37 arrow margin

* fix: mobile padding on button

* fix: remove deprecated button and fix border radius on booking widget button


Approved-by: Erik Tiekstra
This commit is contained in:
Christel Westerberg
2025-11-27 06:12:55 +00:00
parent 931696de54
commit 42b039c4ef
4 changed files with 17 additions and 7 deletions

View File

@@ -3,8 +3,8 @@
import { useState } from "react"
import { useIntl } from "react-intl"
import { Button } from "@scandic-hotels/design-system/Button"
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
import { OldDSButton as Button } from "@scandic-hotels/design-system/OldDSButton"
import SidePeekSelfControlled from "@scandic-hotels/design-system/SidePeekSelfControlled"
import { useMyStayStore } from "@/stores/my-stay"
@@ -29,10 +29,9 @@ export default function RoomDetailsSidePeek({
return (
<>
<Button
intent="text"
size="small"
theme="base"
variant="icon"
variant="Text"
size="Small"
color="Primary"
wrapping
onPress={() => {
setIsOpen(true)

View File

@@ -74,7 +74,9 @@ export default function SingleRoom({ user }: RoomProps) {
</div>
<BookingInformation />
</div>
<PriceDetails />
<div className={styles.priceDetailsButton}>
<PriceDetails />
</div>
<div className={styles.guestDetailsMobileWrapper}>
<GuestDetails
refId={refId}

View File

@@ -57,6 +57,10 @@
display: none;
}
.priceDetailsButton {
padding: 0 var(--Space-x2);
}
@media (min-width: 768px) {
.room {
background-color: transparent;
@@ -86,4 +90,8 @@
display: block;
margin-top: auto;
}
.priceDetailsButton {
padding: 0;
}
}