Gift Recipient Picker: Fix content height (#6654)
This commit is contained in:
parent
b40fe83338
commit
5d5a7beb76
@ -41,7 +41,7 @@ const PickerModal = ({
|
|||||||
useScrollNotch({
|
useScrollNotch({
|
||||||
containerRef: dialogRef,
|
containerRef: dialogRef,
|
||||||
selector: `.modal-content ${itemsContainerSelector}`,
|
selector: `.modal-content ${itemsContainerSelector}`,
|
||||||
isBottomNotch: true,
|
isBottomNotch: hasButton,
|
||||||
shouldHideTopNotch: true,
|
shouldHideTopNotch: true,
|
||||||
}, [modalProps.isOpen]);
|
}, [modalProps.isOpen]);
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,3 @@
|
|||||||
.root :global(.modal-dialog), .root :global(.modal-content) {
|
.root :global(.modal-dialog), .root :global(.modal-content) {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.picker {
|
|
||||||
height: 75vh;
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user