@comicrelief/component-library 8.34.0 → 8.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Organisms/Footer/Nav/Nav.style.js +2 -2
- package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +2 -0
- package/dist/components/Organisms/Header/Nav/Nav.style.js +1 -1
- package/package.json +1 -1
- package/src/components/Organisms/Footer/Nav/Nav.style.js +4 -2
- package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +2 -0
- package/src/components/Organisms/Header/Nav/Nav.style.js +1 -0
|
@@ -12,7 +12,7 @@ var _spacing = _interopRequireDefault(require("../../../../theme/shared/spacing"
|
|
|
12
12
|
const NavLinkClass = (0, _styledComponents.default)(_Link.default).withConfig({
|
|
13
13
|
displayName: "Navstyle__NavLinkClass",
|
|
14
14
|
componentId: "sc-uzf5hs-0"
|
|
15
|
-
})(["border:0;height:46px;width:100%;background-color:", ";&:hover,&:focus{border-bottom:none;}"], _ref => {
|
|
15
|
+
})(["border:0;height:46px;width:100%;background-color:", ";text-decoration:none;&:hover,&:focus{border-bottom:none;}"], _ref => {
|
|
16
16
|
let {
|
|
17
17
|
theme
|
|
18
18
|
} = _ref;
|
|
@@ -115,7 +115,7 @@ const NavMenu = exports.NavMenu = _styledComponents.default.ul.withConfig({
|
|
|
115
115
|
const NavLink = exports.NavLink = (0, _styledComponents.default)(NavLinkClass).withConfig({
|
|
116
116
|
displayName: "Navstyle__NavLink",
|
|
117
117
|
componentId: "sc-uzf5hs-6"
|
|
118
|
-
})([""]);
|
|
118
|
+
})(["text-decoration:none;"]);
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* Menu list items
|
|
@@ -12,7 +12,7 @@ var _zIndex = _interopRequireDefault(require("../../../../theme/shared/zIndex"))
|
|
|
12
12
|
const NavLinkClass = (0, _styledComponents.default)(_Link.default).withConfig({
|
|
13
13
|
displayName: "Navstyle__NavLinkClass",
|
|
14
14
|
componentId: "sc-1ss3uk2-0"
|
|
15
|
-
})(["display:inline-block;border:0;padding:17px 20px;line-height:1.3rem;height:46px;font-weight:700;width:100%;color:", ";:hover{border:0;color:", ";font-weight:inherit;}"], _ref => {
|
|
15
|
+
})(["display:inline-block;border:0;padding:17px 20px;line-height:1.3rem;height:46px;font-weight:700;width:100%;color:", ";text-decoration:none;:hover{border:0;color:", ";font-weight:inherit;}"], _ref => {
|
|
16
16
|
let {
|
|
17
17
|
theme
|
|
18
18
|
} = _ref;
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ const NavLinkClass = styled(Link)`
|
|
|
8
8
|
height: 46px;
|
|
9
9
|
width: 100%;
|
|
10
10
|
background-color: ${({ theme }) => theme.color('deep_violet_dark')};
|
|
11
|
-
|
|
11
|
+
text-decoration: none;
|
|
12
12
|
&:hover,
|
|
13
13
|
&:focus {
|
|
14
14
|
border-bottom: none;
|
|
@@ -133,7 +133,9 @@ const NavMenu = styled.ul`
|
|
|
133
133
|
/**
|
|
134
134
|
* Menu item link
|
|
135
135
|
*/
|
|
136
|
-
const NavLink = styled(NavLinkClass)
|
|
136
|
+
const NavLink = styled(NavLinkClass)`
|
|
137
|
+
text-decoration: none;
|
|
138
|
+
`;
|
|
137
139
|
|
|
138
140
|
/**
|
|
139
141
|
* Menu list items
|