Make `Privacy Notice` external link on integration manager ToS clickable (#10914)

pull/28217/head
Suguru Hirahara 2023-05-16 12:54:38 +00:00 committed by GitHub
parent 81df8a3d2b
commit 7f017a84c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 10 deletions

View File

@ -39,11 +39,3 @@ limitations under the License.
.mx_TermsDialog_summary {
padding-right: 10px;
}
.mx_TermsDialog_link {
display: inline-block;
mask-image: url("$(res)/img/external-link.svg");
background-color: $accent;
width: 10px;
height: 10px;
}

View File

@ -148,9 +148,8 @@ export default class TermsDialog extends React.PureComponent<ITermsDialogProps,
<td className="mx_TermsDialog_service">{serviceName}</td>
<td className="mx_TermsDialog_summary">{summary}</td>
<td>
{termDoc[termsLang].name}
<ExternalLink rel="noreferrer noopener" target="_blank" href={termDoc[termsLang].url}>
<span className="mx_TermsDialog_link" />
{termDoc[termsLang].name}
</ExternalLink>
</td>
<td>