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

Commit 23f14cc

Browse files
RiotRobotluixxiul
andauthored
[Backport staging] Make Privacy Notice external link on integration manager ToS clickable (#10917)
Co-authored-by: Suguru Hirahara <[email protected]>
1 parent 2a3d776 commit 23f14cc

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

res/css/views/dialogs/_TermsDialog.pcss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,3 @@ limitations under the License.
3939
.mx_TermsDialog_summary {
4040
padding-right: 10px;
4141
}
42-
43-
.mx_TermsDialog_link {
44-
display: inline-block;
45-
mask-image: url("$(res)/img/external-link.svg");
46-
background-color: $accent;
47-
width: 10px;
48-
height: 10px;
49-
}

src/components/views/dialogs/TermsDialog.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,8 @@ export default class TermsDialog extends React.PureComponent<ITermsDialogProps,
148148
<td className="mx_TermsDialog_service">{serviceName}</td>
149149
<td className="mx_TermsDialog_summary">{summary}</td>
150150
<td>
151-
{termDoc[termsLang].name}
152151
<ExternalLink rel="noreferrer noopener" target="_blank" href={termDoc[termsLang].url}>
153-
<span className="mx_TermsDialog_link" />
152+
{termDoc[termsLang].name}
154153
</ExternalLink>
155154
</td>
156155
<td>

0 commit comments

Comments
 (0)