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:
@@ -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)
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user