mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1722739 - Newtab Pocket privacy link hover underline fix r=amy
Differential Revision: https://phabricator.services.mozilla.com/D121124
This commit is contained in:
parent
0efd692f47
commit
485f6911dd
@ -76,12 +76,10 @@ export class Navigation extends React.PureComponent {
|
|||||||
|
|
||||||
<SafeAnchor
|
<SafeAnchor
|
||||||
onLinkClick={this.onLinkClick}
|
onLinkClick={this.onLinkClick}
|
||||||
className={this.props.className}
|
className="ds-navigation-privacy"
|
||||||
url={privacyNotice.url}
|
url={privacyNotice.url}
|
||||||
>
|
>
|
||||||
<FluentOrText message={privacyNotice.title}>
|
<FluentOrText message={privacyNotice.title} />
|
||||||
<span className="ds-navigation-privacy" />
|
|
||||||
</FluentOrText>
|
|
||||||
</SafeAnchor>
|
</SafeAnchor>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -65,5 +65,9 @@
|
|||||||
.ds-navigation-privacy {
|
.ds-navigation-privacy {
|
||||||
padding-inline-start: 6px;
|
padding-inline-start: 6px;
|
||||||
float: inline-end;
|
float: inline-end;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3790,6 +3790,9 @@ main.has-snippet {
|
|||||||
padding-inline-start: 6px;
|
padding-inline-start: 6px;
|
||||||
float: inline-end;
|
float: inline-end;
|
||||||
}
|
}
|
||||||
|
.ds-navigation .ds-navigation-privacy:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.ds-section-title {
|
.ds-section-title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -3794,6 +3794,9 @@ main.has-snippet {
|
|||||||
padding-inline-start: 6px;
|
padding-inline-start: 6px;
|
||||||
float: inline-end;
|
float: inline-end;
|
||||||
}
|
}
|
||||||
|
.ds-navigation .ds-navigation-privacy:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.ds-section-title {
|
.ds-section-title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -3790,6 +3790,9 @@ main.has-snippet {
|
|||||||
padding-inline-start: 6px;
|
padding-inline-start: 6px;
|
||||||
float: inline-end;
|
float: inline-end;
|
||||||
}
|
}
|
||||||
|
.ds-navigation .ds-navigation-privacy:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.ds-section-title {
|
.ds-section-title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -10015,13 +10015,11 @@ class Navigation extends react__WEBPACK_IMPORTED_MODULE_1___default.a.PureCompon
|
|||||||
dispatch: this.props.dispatch
|
dispatch: this.props.dispatch
|
||||||
})))) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_SafeAnchor_SafeAnchor__WEBPACK_IMPORTED_MODULE_2__["SafeAnchor"], {
|
})))) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_SafeAnchor_SafeAnchor__WEBPACK_IMPORTED_MODULE_2__["SafeAnchor"], {
|
||||||
onLinkClick: this.onLinkClick,
|
onLinkClick: this.onLinkClick,
|
||||||
className: this.props.className,
|
className: "ds-navigation-privacy",
|
||||||
url: privacyNotice.url
|
url: privacyNotice.url
|
||||||
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(content_src_components_FluentOrText_FluentOrText__WEBPACK_IMPORTED_MODULE_3__["FluentOrText"], {
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(content_src_components_FluentOrText_FluentOrText__WEBPACK_IMPORTED_MODULE_3__["FluentOrText"], {
|
||||||
message: privacyNotice.title
|
message: privacyNotice.title
|
||||||
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", {
|
})));
|
||||||
className: "ds-navigation-privacy"
|
|
||||||
}))));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user