Fix positioning of minimize action and add titles

pull/21833/head
Jason Robinson 2021-02-09 12:40:12 +02:00
parent ad5b40b5ba
commit c92a930d0a
2 changed files with 4 additions and 1 deletions

View File

@ -96,7 +96,7 @@ limitations under the License.
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
top: 10px; top: 10px;
right: 10px; right: 25px;
} }
.mx_HostSignup_persisted { .mx_HostSignup_persisted {

View File

@ -227,6 +227,7 @@ export default class HostSignupDialog extends React.PureComponent<IProps, IState
className="mx_HostSignup_maximize_button" className="mx_HostSignup_maximize_button"
onClick={this.maximizeDialog} onClick={this.maximizeDialog}
aria-label={_t("Maximize dialog")} aria-label={_t("Maximize dialog")}
title={_t("Maximize dialog")}
/> />
</div> </div>
} }
@ -235,10 +236,12 @@ export default class HostSignupDialog extends React.PureComponent<IProps, IState
<AccessibleButton <AccessibleButton
onClick={this.minimizeDialog} className="mx_HostSignup_minimize_button" onClick={this.minimizeDialog} className="mx_HostSignup_minimize_button"
aria-label={_t("Minimize dialog")} aria-label={_t("Minimize dialog")}
title={_t("Minimize dialog")}
/> />
<AccessibleButton <AccessibleButton
onClick={this.onCloseClick} className="mx_Dialog_cancelButton" onClick={this.onCloseClick} className="mx_Dialog_cancelButton"
aria-label={_t("Close dialog")} aria-label={_t("Close dialog")}
title={_t("Close dialog")}
/> />
</div> </div>
} }