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

Commit 32ad94b

Browse files
authored
Merge pull request #6692 from matrix-org/jryans/changelog-link-colour
Fix changelog link colour back to blue
2 parents 9aadb7c + d013ae7 commit 32ad94b

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

res/css/_common.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,6 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
381381
font-size: $font-14px;
382382
color: $primary-content;
383383
word-wrap: break-word;
384-
385-
a {
386-
color: $accent-color;
387-
cursor: pointer;
388-
}
389384
}
390385

391386
.mx_Dialog_buttons {

src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,12 @@ export default class SecurityRoomSettingsTab extends React.Component<IProps, ISt
149149
"To avoid these issues, create a <a>new encrypted room</a> for " +
150150
"the conversation you plan to have.",
151151
null,
152-
{ "a": (sub) => <a onClick={() => {
153-
dialog.close();
154-
this.createNewRoom(false, true);
155-
}}> { sub } </a> },
152+
{ "a": (sub) => <a
153+
className="mx_linkButton"
154+
onClick={() => {
155+
dialog.close();
156+
this.createNewRoom(false, true);
157+
}}> { sub } </a> },
156158
) } </p>
157159
</div>,
158160

@@ -248,10 +250,12 @@ export default class SecurityRoomSettingsTab extends React.Component<IProps, ISt
248250
"you plan to have.",
249251
null,
250252
{
251-
"a": (sub) => <a onClick={() => {
252-
dialog.close();
253-
this.createNewRoom(true, false);
254-
}}> { sub } </a>,
253+
"a": (sub) => <a
254+
className="mx_linkButton"
255+
onClick={() => {
256+
dialog.close();
257+
this.createNewRoom(true, false);
258+
}}> { sub } </a>,
255259
},
256260
) } </p>
257261
</div>,

0 commit comments

Comments
 (0)