nexus-public 3.0.1 → 3.0.2

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  Notable changes to `nexus-public`.
4
4
 
5
+ ## 3.0.2
6
+
7
+ **One CSS line.** The site menu's sheet on a phone (`.nx-site__sheet`) is at most `100dvh` less the header where the
8
+ browser knows `dvh` (`100vh` stays for older ones), so its last items are no longer under the screen's edge while the
9
+ address bar shows. No export, class name or custom property changed; every other published file is as in `3.0.1`. The
10
+ `nexus-shared` range stays `^3.0.0 || ^4.0.0`, which takes `nexus-shared` `4.1.0`.
11
+
5
12
  ## 3.0.1
6
13
 
7
14
  **No code change.** The `nexus-shared` range is `^3.0.0 || ^4.0.0` (was `^3.0.0`), so an app on `nexus-shared`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-public",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Public site building blocks for Nexus apps: the client layout and menu, built on nexus-shared.",
5
5
  "keywords": [
6
6
  "react",
@@ -247,6 +247,7 @@
247
247
  .nx-site__sheet {
248
248
  display: none;
249
249
  max-height: calc(100vh - var(--nx-site-header));
250
+ max-height: calc(100dvh - var(--nx-site-header));
250
251
  overflow-y: auto;
251
252
  padding: var(--nx-space-3) var(--nx-site-gutter) var(--nx-space-4);
252
253
  border-top: 1px solid var(--nx-border);