luna-one 3.1.409 → 3.1.410
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.
|
@@ -173,6 +173,8 @@ var NavBarTop = function NavBarTop(props) {
|
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
|
|
176
|
+
var logoElement = document.querySelector('.ter-navbar-top__logo');
|
|
177
|
+
|
|
176
178
|
var handleToggleWithKeyBoard = function handleToggleWithKeyBoard(event) {
|
|
177
179
|
if (!mouse) {
|
|
178
180
|
// checks that a user hits the enter key to open the modal
|
|
@@ -220,7 +222,7 @@ var NavBarTop = function NavBarTop(props) {
|
|
|
220
222
|
},
|
|
221
223
|
"aria-label": "Link to homepage"
|
|
222
224
|
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
223
|
-
className: "".concat(mouse ? "ter-navbar-top__logo" : "ter-navbar-top__logo tabFocus", "
|
|
225
|
+
className: "".concat(mouse ? "ter-navbar-top__logo" : "ter-navbar-top__logo tabFocus", " ").concat(logoElement && logoElement.offsetWidth > 240 ? "ter-navbar-top__logo--large" : "", "\n "),
|
|
224
226
|
src: logo === null || logo === void 0 ? void 0 : logo.url,
|
|
225
227
|
alt: logo !== null && logo !== void 0 && logo.altText ? logo === null || logo === void 0 ? void 0 : logo.altText : ""
|
|
226
228
|
}), (divisionName && divisionName) !== "Global" && /*#__PURE__*/_react.default.createElement("p", {
|
|
@@ -85,11 +85,13 @@
|
|
|
85
85
|
|
|
86
86
|
&__logo {
|
|
87
87
|
height: 25px;
|
|
88
|
-
width: 112px;
|
|
89
88
|
margin: 0 8px 0 0 !important;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
max-width: 289px;
|
|
90
|
+
width: auto;
|
|
91
|
+
&--large {
|
|
92
|
+
@media screen and (max-width: 370px) {
|
|
93
|
+
max-width: 240px;
|
|
94
|
+
}
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
&-link {
|