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

Commit 065820f

Browse files
committed
Nesting - .mx_Dialog_header
Signed-off-by: Suguru Hirahara <[email protected]>
1 parent f9627e0 commit 065820f

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

res/css/views/dialogs/security/_AccessSecretStorageDialog.scss

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,21 @@ limitations under the License.
2626
background-color: $primary-content;
2727
}
2828

29-
.mx_AccessSecretStorageDialog_resetBadge::before {
30-
// The image isn't capable of masking, so we use a background instead.
31-
background-image: url("$(res)/img/element-icons/warning-badge.svg");
32-
background-size: 24px;
33-
background-color: transparent;
34-
}
29+
.mx_Dialog_header {
30+
.mx_AccessSecretStorageDialog_resetBadge::before {
31+
// The image isn't capable of masking, so we use a background instead.
32+
background-image: url("$(res)/img/element-icons/warning-badge.svg");
33+
background-size: 24px;
34+
background-color: transparent;
35+
}
3536

36-
.mx_AccessSecretStorageDialog_secureBackupTitle::before {
37-
mask-image: url('$(res)/img/feather-customised/secure-backup.svg');
38-
}
37+
.mx_AccessSecretStorageDialog_secureBackupTitle::before {
38+
mask-image: url('$(res)/img/feather-customised/secure-backup.svg');
39+
}
3940

40-
.mx_AccessSecretStorageDialog_securePhraseTitle::before {
41-
mask-image: url('$(res)/img/feather-customised/secure-phrase.svg');
41+
.mx_AccessSecretStorageDialog_securePhraseTitle::before {
42+
mask-image: url('$(res)/img/feather-customised/secure-phrase.svg');
43+
}
4244
}
4345

4446
.mx_AccessSecretStorageDialog_primaryContainer {

0 commit comments

Comments
 (0)