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

Commit

Permalink
Remove some obsolete button styles from _common.pcss (#10548)
Browse files Browse the repository at this point in the history
* Remove obsolete style rules - `mx_linkButton`

The block was added with fbab8ce 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>
  • Loading branch information
luixxiul authored Apr 24, 2023
1 parent 16ab5e9 commit ca102c4
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions res/css/_common.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -657,11 +657,6 @@ legend {
margin: auto;
}

.mx_linkButton {
cursor: pointer;
color: $accent;
}

.mx_TextInputDialog_label {
text-align: left;
padding-bottom: 12px;
Expand All @@ -676,16 +671,6 @@ legend {
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 {
margin-top: 69px;
}
Expand Down

0 comments on commit ca102c4

Please sign in to comment.