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, .edit-profile-dialog,
.create-group-dialog, .create-group-dialog,
.user-details-dialog, .user-details-dialog,
.update-group-dialog,
.onion-status-dialog { .onion-status-dialog {
.content { .content {
max-width: 100% !important; max-width: 100% !important;

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

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

Loading…
Cancel
Save