Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix look of emoji verification (#7133)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBrandner committed Nov 15, 2021
1 parent 365950e commit 75c02a6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
12 changes: 0 additions & 12 deletions res/css/views/right_panel/_UserInfo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
5 changes: 1 addition & 4 deletions res/css/views/verification/_VerificationShowSas.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,5 @@ limitations under the License.
display: flex;
flex-wrap: wrap;
justify-content: center;

.mx_AccessibleButton {
margin-inline: 9px;
}
gap: 9px;
}
2 changes: 1 addition & 1 deletion src/components/views/verification/VerificationShowSas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 75c02a6

Please sign in to comment.