You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Remove some obsolete button styles from _common.pcss
(#10548)
* Remove obsolete style rules - `mx_linkButton`
The block was added with fbab8ceeef
for CreateKeyBackupDialog.js. It has been replaced with AccessibleButton element (see: onSkipPassPhraseClick on L283 and changeText on L314-316). The last function which had used mx_linkButton (_onOptOutClick) has been removed.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove obsolete style rules - `mx_textButton`
mx_textButton has been replaced with AccessibleButton (with kind="link"). There is also not an element which uses the class.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
@ -657,11 +657,6 @@ legend {
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_linkButton {
|
|
||||||
cursor: pointer;
|
|
||||||
color: $accent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_TextInputDialog_label {
|
.mx_TextInputDialog_label {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-bottom: 12px;
|
padding-bottom: 12px;
|
||||||
@ -676,16 +671,6 @@ legend {
|
|||||||
background-color: $background;
|
background-color: $background;
|
||||||
}
|
}
|
||||||
|
|
||||||
@define-mixin mx_DialogButton_small {
|
|
||||||
@mixin mx_DialogButton;
|
|
||||||
font-size: $font-15px;
|
|
||||||
padding: 0px 1.5em 0px 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_textButton {
|
|
||||||
@mixin mx_DialogButton_small;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_button_row {
|
.mx_button_row {
|
||||||
margin-top: 69px;
|
margin-top: 69px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user