use FormButton in verification request tile too and dedupe styles

This commit is contained in:
Bruno Windels 2019-11-22 16:32:50 +01:00
parent 0dfb0f5468
commit 309633181d
4 changed files with 8 additions and 24 deletions

View file

@ -87,10 +87,6 @@ limitations under the License.
.mx_Toast_buttons {
display: flex;
> :not(:last-child) {
margin-right: 8px;
}
}
.mx_Toast_description {

View file

@ -18,6 +18,11 @@ limitations under the License.
line-height: 16px;
padding: 5px 15px;
font-size: 12px;
height: min-content;
&:not(:last-child) {
margin-right: 8px;
}
&.mx_AccessibleButton_kind_primary {
color: $accent-color;

View file

@ -65,23 +65,6 @@ limitations under the License.
.mx_KeyVerification_buttons {
align-items: center;
display: flex;
.mx_AccessibleButton_kind_decline {
color: $notice-primary-color;
background-color: $notice-primary-bg-color;
}
.mx_AccessibleButton_kind_accept {
color: $accent-color;
background-color: $accent-bg-color;
}
[role=button] {
margin: 10px;
padding: 7px 15px;
border-radius: 5px;
height: min-content;
}
}
.mx_KeyVerification_state {