Merged in fix/SW-565-rooms-guests-widget-ui (pull request #928)
Fix/SW-565 rooms guests widget ui Approved-by: Bianca Widstam
This commit is contained in:
@@ -94,7 +94,7 @@ export default function ChildInfoSelector({
|
|||||||
updateSelectedAge(key as number)
|
updateSelectedAge(key as number)
|
||||||
}}
|
}}
|
||||||
placeholder={ageLabel}
|
placeholder={ageLabel}
|
||||||
maxHeight={150}
|
maxHeight={180}
|
||||||
{...register(ageFieldName, {
|
{...register(ageFieldName, {
|
||||||
required: true,
|
required: true,
|
||||||
})}
|
})}
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export default function GuestsRoomsPickerDialog({
|
|||||||
<Tooltip
|
<Tooltip
|
||||||
heading={disabledBookingOptionsHeader}
|
heading={disabledBookingOptionsHeader}
|
||||||
text={disabledBookingOptionsText}
|
text={disabledBookingOptionsText}
|
||||||
position="top"
|
position="bottom"
|
||||||
arrow="left"
|
arrow="left"
|
||||||
>
|
>
|
||||||
{rooms.length < 4 ? (
|
{rooms.length < 4 ? (
|
||||||
@@ -124,7 +124,7 @@ export default function GuestsRoomsPickerDialog({
|
|||||||
<Tooltip
|
<Tooltip
|
||||||
heading={disabledBookingOptionsHeader}
|
heading={disabledBookingOptionsHeader}
|
||||||
text={disabledBookingOptionsText}
|
text={disabledBookingOptionsText}
|
||||||
position="top"
|
position="bottom"
|
||||||
arrow="left"
|
arrow="left"
|
||||||
>
|
>
|
||||||
{rooms.length < 4 ? (
|
{rooms.length < 4 ? (
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ export function Tooltip<P extends TooltipPosition>({
|
|||||||
role="tooltip"
|
role="tooltip"
|
||||||
aria-label={text}
|
aria-label={text}
|
||||||
onClick={handleToggle}
|
onClick={handleToggle}
|
||||||
|
onTouchStart={handleToggle}
|
||||||
data-active={isActive}
|
data-active={isActive}
|
||||||
>
|
>
|
||||||
<div className={className}>
|
<div className={className}>
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
transition: opacity 0.3s;
|
transition: opacity 0.3s;
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
|
height: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooltipContainer:hover .tooltip {
|
.tooltipContainer:hover .tooltip {
|
||||||
|
|||||||
Reference in New Issue
Block a user