diff --git a/fluxer_app/src/features/app/components/dialogs/shared/SelectorModalStyles.module.css b/fluxer_app/src/features/app/components/dialogs/shared/SelectorModalStyles.module.css index 3bf9c85a7..88da45707 100644 --- a/fluxer_app/src/features/app/components/dialogs/shared/SelectorModalStyles.module.css +++ b/fluxer_app/src/features/app/components/dialogs/shared/SelectorModalStyles.module.css @@ -17,14 +17,25 @@ color: var(--text-secondary); } +.selectorRoot { + height: 45rem; +} + .selectorContent { - --selector-modal-content-height: clamp(20rem, 48vh, 23.75rem); display: flex; flex-direction: column; + padding: 0; +} + +:global(html.mobile-layout) .selectorRoot { + height: auto; +} + +:global(html.mobile-layout) .selectorContent { + --selector-modal-content-height: clamp(20rem, 48vh, 23.75rem); height: var(--selector-modal-content-height); min-height: var(--selector-modal-content-height); max-height: var(--selector-modal-content-height); - padding: 0; } .listContainer { diff --git a/fluxer_app/src/features/channel/components/modals/CreateDMModal.tsx b/fluxer_app/src/features/channel/components/modals/CreateDMModal.tsx index 506082a65..6b958e5e6 100644 --- a/fluxer_app/src/features/channel/components/modals/CreateDMModal.tsx +++ b/fluxer_app/src/features/channel/components/modals/CreateDMModal.tsx @@ -45,7 +45,12 @@ export const CreateDMModal = observer((props: CreateDMModalProps) => { } }, [modalLogic]); return ( - + {!restriction && ( <> diff --git a/fluxer_app/src/features/expressions/components/modals/GiftSendToFriendModal.tsx b/fluxer_app/src/features/expressions/components/modals/GiftSendToFriendModal.tsx index c1cf69221..f6500a101 100644 --- a/fluxer_app/src/features/expressions/components/modals/GiftSendToFriendModal.tsx +++ b/fluxer_app/src/features/expressions/components/modals/GiftSendToFriendModal.tsx @@ -48,7 +48,12 @@ export const GiftSendToFriendModal = observer(function GiftSendToFriendModal({co const handleCopy = useCopyLinkHandler(giftUrl, true); const {sendingTo, sentTo, send: handleSendGift} = useSendLinkToRecipients(() => giftUrl); return ( - + + @@ -388,7 +389,7 @@ export const ForwardModal = observer(
diff --git a/fluxer_app/src/features/relationship/components/modals/AddFriendsToGroupModal.tsx b/fluxer_app/src/features/relationship/components/modals/AddFriendsToGroupModal.tsx index eff008ca7..f3315b1ff 100644 --- a/fluxer_app/src/features/relationship/components/modals/AddFriendsToGroupModal.tsx +++ b/fluxer_app/src/features/relationship/components/modals/AddFriendsToGroupModal.tsx @@ -48,7 +48,12 @@ export const AddFriendsToGroupModal = observer((props: AddFriendsToGroupModalPro ? i18n._(LINK_HIDDEN_WHILE_SHARING_DESCRIPTOR) : (modalLogic.inviteLink ?? ''); return ( - + { send: handleSendTheme, } = useSendLinkToRecipients(() => (themeUrl ? `${i18n._(CHECK_OUT_MY_CUSTOM_THEME_DESCRIPTOR)}\n${themeUrl}` : null)); return ( - +