Fixed update-group-name dialog styling.

pull/1706/head
Warrick Corfe-Tan 4 years ago
parent 24749ddd5a
commit eb2e60b2eb

@ -10,6 +10,7 @@
.edit-profile-dialog,
.create-group-dialog,
.user-details-dialog,
.update-group-dialog,
.onion-status-dialog {
.content {
max-width: 100% !important;

@ -85,6 +85,7 @@ class UpdateGroupNameDialogInner extends React.Component<Props, State> {
// tslint:disable-next-line: no-void-expression
onClose={() => this.closeDialog()}
theme={this.props.theme}
additionalClassName="update-group-dialog"
>
{this.state.errorDisplayed ? (
<>

@ -41,6 +41,7 @@ export type SessionWrapperModalType = {
headerIconButtons?: any[];
children: any;
headerReverse?: boolean;
additionalClassName?: string;
};
export const SessionWrapperModal = (props: SessionWrapperModalType) => {
@ -56,6 +57,7 @@ export const SessionWrapperModal = (props: SessionWrapperModalType) => {
theme,
headerIconButtons,
headerReverse,
additionalClassName
} = props;
useEffect(() => {
@ -75,7 +77,7 @@ export const SessionWrapperModal = (props: SessionWrapperModalType) => {
};
return (
<div className="loki-dialog modal">
<div className={"loki-dialog modal " + additionalClassName}>
<div className="session-confirm-wrapper">
<div className="session-modal">
{showHeader ? (

Loading…
Cancel
Save