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)
|
||||
}}
|
||||
placeholder={ageLabel}
|
||||
maxHeight={150}
|
||||
maxHeight={180}
|
||||
{...register(ageFieldName, {
|
||||
required: true,
|
||||
})}
|
||||
|
||||
@@ -99,7 +99,7 @@ export default function GuestsRoomsPickerDialog({
|
||||
<Tooltip
|
||||
heading={disabledBookingOptionsHeader}
|
||||
text={disabledBookingOptionsText}
|
||||
position="top"
|
||||
position="bottom"
|
||||
arrow="left"
|
||||
>
|
||||
{rooms.length < 4 ? (
|
||||
@@ -124,7 +124,7 @@ export default function GuestsRoomsPickerDialog({
|
||||
<Tooltip
|
||||
heading={disabledBookingOptionsHeader}
|
||||
text={disabledBookingOptionsText}
|
||||
position="top"
|
||||
position="bottom"
|
||||
arrow="left"
|
||||
>
|
||||
{rooms.length < 4 ? (
|
||||
|
||||
@@ -28,6 +28,7 @@ export function Tooltip<P extends TooltipPosition>({
|
||||
role="tooltip"
|
||||
aria-label={text}
|
||||
onClick={handleToggle}
|
||||
onTouchStart={handleToggle}
|
||||
data-active={isActive}
|
||||
>
|
||||
<div className={className}>
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
transition: opacity 0.3s;
|
||||
max-width: 200px;
|
||||
min-width: 150px;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
.tooltipContainer:hover .tooltip {
|
||||
|
||||
Reference in New Issue
Block a user