@nice-digital/global-nav 4.1.728 → 4.1.729
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.
|
@@ -165,7 +165,7 @@ function Account(props) {
|
|
|
165
165
|
"aria-labelledby": "my-account-button",
|
|
166
166
|
onKeyDown: handleKeyDown,
|
|
167
167
|
ref: myAccountMenu
|
|
168
|
-
}, accountsData.links && Object.keys(accountsData.links).map(function (text, i) {
|
|
168
|
+
}, doesUseIdAM && accountsData.display_name && /*#__PURE__*/_react["default"].createElement("li", null, /*#__PURE__*/_react["default"].createElement("span", null, accountsData.display_name)), accountsData.links && Object.keys(accountsData.links).map(function (text, i) {
|
|
169
169
|
return /*#__PURE__*/_react["default"].createElement("li", {
|
|
170
170
|
key: i,
|
|
171
171
|
role: "presentation"
|
|
@@ -106,10 +106,14 @@
|
|
|
106
106
|
margin: 0;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
+
span,
|
|
109
110
|
a {
|
|
110
|
-
color: $nds-colour-link;
|
|
111
111
|
display: block;
|
|
112
112
|
padding: rem($nds-spacing-small $nds-spacing-medium);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
a {
|
|
116
|
+
color: $nds-colour-link;
|
|
113
117
|
text-decoration: none;
|
|
114
118
|
white-space: nowrap;
|
|
115
119
|
|