Skip to content

Commit

Permalink
Make Privacy Notice external link on integration manager ToS clicka…
Browse files Browse the repository at this point in the history
…ble (#10914)

(cherry picked from commit 7f017a8)
  • Loading branch information
luixxiul authored and github-actions[bot] committed May 16, 2023
1 parent 2a3d776 commit bd04cfa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
8 changes: 0 additions & 8 deletions res/css/views/dialogs/_TermsDialog.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
3 changes: 1 addition & 2 deletions src/components/views/dialogs/TermsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bd04cfa

Please sign in to comment.