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 { useState } from "react"
|
||||||
import { useIntl } from "react-intl"
|
import { useIntl } from "react-intl"
|
||||||
|
|
||||||
|
import { Button } from "@scandic-hotels/design-system/Button"
|
||||||
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
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 SidePeekSelfControlled from "@scandic-hotels/design-system/SidePeekSelfControlled"
|
||||||
|
|
||||||
import { useMyStayStore } from "@/stores/my-stay"
|
import { useMyStayStore } from "@/stores/my-stay"
|
||||||
@@ -29,10 +29,9 @@ export default function RoomDetailsSidePeek({
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Button
|
<Button
|
||||||
intent="text"
|
variant="Text"
|
||||||
size="small"
|
size="Small"
|
||||||
theme="base"
|
color="Primary"
|
||||||
variant="icon"
|
|
||||||
wrapping
|
wrapping
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
setIsOpen(true)
|
setIsOpen(true)
|
||||||
|
|||||||
@@ -74,7 +74,9 @@ export default function SingleRoom({ user }: RoomProps) {
|
|||||||
</div>
|
</div>
|
||||||
<BookingInformation />
|
<BookingInformation />
|
||||||
</div>
|
</div>
|
||||||
<PriceDetails />
|
<div className={styles.priceDetailsButton}>
|
||||||
|
<PriceDetails />
|
||||||
|
</div>
|
||||||
<div className={styles.guestDetailsMobileWrapper}>
|
<div className={styles.guestDetailsMobileWrapper}>
|
||||||
<GuestDetails
|
<GuestDetails
|
||||||
refId={refId}
|
refId={refId}
|
||||||
|
|||||||
@@ -57,6 +57,10 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.priceDetailsButton {
|
||||||
|
padding: 0 var(--Space-x2);
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.room {
|
.room {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@@ -86,4 +90,8 @@
|
|||||||
display: block;
|
display: block;
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.priceDetailsButton {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,8 @@
|
|||||||
/* To avoid this "flash" the styling is set to transparent) */
|
/* To avoid this "flash" the styling is set to transparent) */
|
||||||
/* It is a non-standard css proprty, so shouldn't have too much of an effect on accessibility. */
|
/* It is a non-standard css proprty, so shouldn't have too much of an effect on accessibility. */
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
border-radius: 10px;
|
border-bottom-right-radius: 10px;
|
||||||
|
border-bottom-left-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.complete {
|
.complete {
|
||||||
|
|||||||
Reference in New Issue
Block a user