This commit is contained in:
Jason Robinson 2021-01-15 17:02:28 +02:00
parent 158036ccf9
commit 3901cd9c72
3 changed files with 17 additions and 1 deletions

View file

@ -42,6 +42,16 @@ limitations under the License.
margin: 0 16px; margin: 0 16px;
} }
} }
.mx_HostSignupDialog_footer {
display: flex;
justify-content: center;
align-items: baseline;
img {
padding-right: 5px;
}
}
} }
iframe { iframe {

View file

@ -231,7 +231,9 @@ export default class HostSignupDialog extends React.PureComponent<IProps, IState
{this.config.info.image && {this.config.info.image &&
<img <img
alt={this.config.info.image.alt} alt={this.config.info.image.alt}
height={this.config.info.image.height}
src={this.config.info.image.src} src={this.config.info.image.src}
width={this.config.info.image.width}
/> />
} }
<div className="mx_HostSignupDialog_content_top"> <div className="mx_HostSignupDialog_content_top">
@ -279,11 +281,13 @@ export default class HostSignupDialog extends React.PureComponent<IProps, IState
{this.config.info.footer && {this.config.info.footer &&
<div className="mx_HostSignupDialog_text_light"> <div className="mx_HostSignupDialog_text_light">
<small> <small>
<p> <p className="mx_HostSignupDialog_footer">
{this.config.info.footer.image && {this.config.info.footer.image &&
<img <img
alt={this.config.info.footer.image.alt} alt={this.config.info.footer.image.alt}
height={this.config.info.footer.image.height}
src={this.config.info.footer.image.src} src={this.config.info.footer.image.src}
width={this.config.info.footer.image.width}
/> />
} }
{this.config.info.footer.text} {this.config.info.footer.text}

View file

@ -48,7 +48,9 @@ export interface IPostmessage {
interface IImage { interface IImage {
alt: string; alt: string;
height: number;
src: string; src: string;
width: number;
} }
interface ILink { interface ILink {