Fix look of emoji verification (#7133)

This commit is contained in:
Šimon Brandner 2021-11-15 10:09:19 +01:00 committed by GitHub
parent 365950e366
commit 75c02a641b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 17 deletions

View file

@ -259,18 +259,6 @@ limitations under the License.
.mx_AccessibleButton.mx_AccessibleButton_hasKind { .mx_AccessibleButton.mx_AccessibleButton_hasKind {
padding: 8px 18px; padding: 8px 18px;
} }
.mx_VerificationShowSas .mx_AccessibleButton,
.mx_UserInfo_wideButton {
display: block;
margin: 16px 0 8px;
}
.mx_VerificationShowSas {
.mx_AccessibleButton + .mx_AccessibleButton {
margin: 8px 0; // space between buttons
}
}
} }
.mx_UserInfo.mx_UserInfo_smallAvatar { .mx_UserInfo.mx_UserInfo_smallAvatar {

View file

@ -67,8 +67,5 @@ limitations under the License.
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
gap: 9px;
.mx_AccessibleButton {
margin-inline: 9px;
}
} }

View file

@ -113,7 +113,7 @@ export default class VerificationShowSas extends React.Component<IProps, IState>
} else { } else {
return <div> return <div>
{ _t("Unable to find a supported verification method.") } { _t("Unable to find a supported verification method.") }
<AccessibleButton kind="primary" onClick={this.props.onCancel} className="mx_UserInfo_wideButton"> <AccessibleButton kind="primary" onClick={this.props.onCancel}>
{ _t('Cancel') } { _t('Cancel') }
</AccessibleButton> </AccessibleButton>
</div>; </div>;