Remove invite button should not overlap with member dropdown button (#4243)

This commit is contained in:
Apoorv Mishra
2022-10-11 06:01:53 +05:30
committed by GitHub
parent b29344efce
commit 21b91ff060
2 changed files with 14 additions and 3 deletions

View File

@@ -58,11 +58,13 @@ const Wrapper = styled.div<{
flex?: boolean;
short?: boolean;
minHeight?: number;
minWidth?: number;
maxHeight?: number;
}>`
flex: ${(props) => (props.flex ? "1" : "0")};
width: ${(props) => (props.short ? "49%" : "auto")};
max-width: ${(props) => (props.short ? "350px" : "100%")};
min-width: ${({ minWidth }) => (minWidth ? `${minWidth}px` : "0")};
min-height: ${({ minHeight }) => (minHeight ? `${minHeight}px` : "0")};
max-height: ${({ maxHeight }) => (maxHeight ? `${maxHeight}px` : "initial")};
`;