Fix look of emoji verification (#7133)

pull/21833/head
Š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 {
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 {

View File

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

View File

@ -113,7 +113,7 @@ export default class VerificationShowSas extends React.Component<IProps, IState>
} else {
return <div>
{ _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') }
</AccessibleButton>
</div>;