Fix broken buttons (#8133)

This commit is contained in:
Suguru Hirahara 2022-03-23 19:09:09 +00:00 committed by GitHub
parent f92fcb7945
commit 64871c057b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,6 @@ limitations under the License.
.mx_AccessibleButton_disabled {
cursor: default;
&.mx_AccessibleButton_kind {
.mx_AccessibleButton_kind_primary,
.mx_AccessibleButton_kind_primary_outline,
.mx_AccessibleButton_kind_primary_sm,
@ -30,7 +29,6 @@ limitations under the License.
opacity: 0.4;
}
}
}
.mx_AccessibleButton_hasKind {
padding: 7px 18px;
@ -42,7 +40,6 @@ limitations under the License.
font-size: $font-14px;
border: none; // override default <button /> styles
&.mx_AccessibleButton_kind {
.mx_AccessibleButton_kind_primary_sm,
.mx_AccessibleButton_kind_danger_sm,
.mx_AccessibleButton_kind_link_sm {
@ -79,9 +76,7 @@ limitations under the License.
}
}
}
}
.mx_AccessibleButton_kind {
.mx_AccessibleButton_kind_primary,
.mx_AccessibleButton_kind_primary_outline,
.mx_AccessibleButton_kind_secondary {
@ -133,18 +128,17 @@ limitations under the License.
background-color: $button-danger-disabled-bg-color;
}
}
}
.mx_AccessibleButton_kind_link {
color: $accent;
padding: 0;
}
.mx_AccessibleButton_kind_link_inline {
color: $accent;
font-size: inherit;
padding: 0 2px;
}
}
.mx_AccessibleButton_kind_confirm_sm,
.mx_AccessibleButton_kind_cancel_sm {