diff --git a/packages/desktop-client/src/components/common/InputWithContent.tsx b/packages/desktop-client/src/components/common/InputWithContent.tsx index ca8007f9b53..d7cb8b93a96 100644 --- a/packages/desktop-client/src/components/common/InputWithContent.tsx +++ b/packages/desktop-client/src/components/common/InputWithContent.tsx @@ -44,6 +44,7 @@ export function InputWithContent({ {...props} focused={focused} style={{ + width: '100%', ...inputStyle, flex: 1, '&, &:focus, &:hover': { diff --git a/packages/desktop-client/src/components/common/Modal2.tsx b/packages/desktop-client/src/components/common/Modal2.tsx index 1f0c444aace..2de38db9801 100644 --- a/packages/desktop-client/src/components/common/Modal2.tsx +++ b/packages/desktop-client/src/components/common/Modal2.tsx @@ -15,6 +15,7 @@ import { import { useHotkeysContext } from 'react-hotkeys-hook'; import { AutoTextSize } from 'auto-text-size'; +import { css } from 'glamor'; import { useModalState } from '../../hooks/useModalState'; import { AnimatedLoading } from '../../icons/AnimatedLoading'; @@ -89,6 +90,7 @@ export const Modal = ({ {modalProps => ( - + {typeof children === 'function' ? children(modalProps) : children} diff --git a/upcoming-release-notes/3161.md b/upcoming-release-notes/3161.md new file mode 100644 index 00000000000..980413fe218 --- /dev/null +++ b/upcoming-release-notes/3161.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [MatissJanis, MikesGlitch] +--- + +Allow modal content to be vertically scrollable.