Fix Bug 69278 - Rooms. fixed ModalDialog styles
This commit is contained in:
parent
7047b82e3e
commit
0b26605708
@ -155,12 +155,14 @@ const Content = styled.div.attrs((props: { modalSwipeOffset?: number }) => ({
|
||||
`}
|
||||
`;
|
||||
|
||||
const StyledHeader = styled.div`
|
||||
const StyledHeader = styled.div<{ currentDisplayType?: ModalDialogType }>`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: ${(props) =>
|
||||
`1px solid ${props.theme.modalDialog.headerBorderColor}`};
|
||||
height: 52px;
|
||||
margin-bottom: ${(props) =>
|
||||
props.currentDisplayType === "aside" ? "0px" : "16px"};
|
||||
padding: 0 16px 0;
|
||||
|
||||
.heading {
|
||||
|
@ -191,6 +191,7 @@ const Modal = ({
|
||||
"modal-header"
|
||||
}
|
||||
{...headerProps}
|
||||
currentDisplayType={currentDisplayType}
|
||||
>
|
||||
<Heading
|
||||
level={1}
|
||||
|
Loading…
Reference in New Issue
Block a user