@internetarchive/ia-topnav 1.1.37-alpha1 → 1.1.37-alpha2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/ia-topnav",
3
- "version": "1.1.37-alpha1",
3
+ "version": "1.1.37-alpha2",
4
4
  "description": "Top nav for Internet Archive",
5
5
  "license": "AGPL-3.0-only",
6
6
  "main": "index.js",
@@ -3,6 +3,7 @@ import { css } from 'https://offshoot.prod.archive.org/lit.js';
3
3
  export default css`
4
4
  .nav-container {
5
5
  position: relative;
6
+ z-index: 4;
6
7
  }
7
8
 
8
9
  nav {
@@ -77,12 +77,14 @@ export default css`
77
77
 
78
78
  .topnav {
79
79
  position: relative;
80
- z-index: 3;
81
80
  }
82
81
 
83
82
  @media (max-width: 889px) {
84
83
  desktop-subnav {
85
84
  display: none;
86
85
  }
86
+ .topnav {
87
+ z-index: 4;
88
+ }
87
89
  }
88
90
  `;
@@ -37,7 +37,7 @@ export default css`
37
37
  right: 4rem;
38
38
  bottom: 0;
39
39
  left: 4rem;
40
- z-index: 3;
40
+ z-index: 4;
41
41
  padding: 0.5rem 0.2rem;
42
42
  border-radius: 1rem 1rem 0 0;
43
43
  background: var(--searchActiveBg);
@@ -201,7 +201,6 @@ export default css`
201
201
 
202
202
  nav {
203
203
  display: block;
204
- z-index: 3;
205
204
  height: 5rem;
206
205
  padding-right: 1.5rem;
207
206
  }
@@ -274,6 +273,8 @@ export default css`
274
273
  nav-search {
275
274
  float: right;
276
275
  margin-left: 1rem;
276
+ z-index: 4;
277
+ position: inherit;
277
278
  }
278
279
 
279
280
  login-button {
@@ -3,6 +3,7 @@ import { css } from 'https://offshoot.prod.archive.org/lit.js';
3
3
  export default css`
4
4
  .menu-wrapper {
5
5
  position: relative;
6
+ z-index: 4;
6
7
  }
7
8
 
8
9
  button:focus,