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.
@@ -147,6 +147,9 @@
147
147
  color: $mep-blue-2;
148
148
  margin: 0 16px 0 16px;
149
149
  cursor: pointer;
150
+ p {
151
+ line-height: 1.6
152
+ }
150
153
  }
151
154
  &__user {
152
155
  font-size: $eyebrow-font-size;
@@ -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", "\n ").concat(!displaySectorName ? "ter-navbar-top__logo--no-sector-name" : "", "\n "),
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
- &--no-sector-name {
91
- max-width: 289px;
92
- width: auto;
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luna-one",
3
- "version": "3.1.409",
3
+ "version": "3.1.410",
4
4
  "dependencies": {
5
5
  "@loadable/component": "^5.15.2",
6
6
  "@storybook/addon-knobs": "^6.3.1",