pull/21833/head
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;
}
}
.mx_HostSignupDialog_footer {
display: flex;
justify-content: center;
align-items: baseline;
img {
padding-right: 5px;
}
}
}
iframe {

View File

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

View File

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