@primer/brand-css 0.83.0-rc.4ec10de1 → 0.83.0-rc.79bfdd51

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.
@@ -387,6 +387,7 @@
387
387
  }
388
388
 
389
389
  .SubNav__overlay-toggle-label {
390
+ position: relative;
390
391
  max-inline-size: 100%;
391
392
  background-color: var(--brand-SubNav-color-link-bgColor);
392
393
  border: none;
@@ -400,6 +401,20 @@
400
401
  overflow-wrap: anywhere;
401
402
  cursor: pointer;
402
403
  font: inherit;
404
+ overflow: hidden;
405
+ }
406
+
407
+ .SubNav__overlay-toggle-text {
408
+ inline-size: -moz-max-content;
409
+ inline-size: max-content;
410
+ flex-shrink: 0;
411
+ white-space: nowrap;
412
+ }
413
+
414
+ .SubNav__overlay-toggle-text--hidden {
415
+ /* Keep the intrinsic width measurable so the label can return when space allows. */
416
+ position: absolute;
417
+ visibility: hidden;
403
418
  }
404
419
 
405
420
  .SubNav--full-width .SubNav__overlay-toggle {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/brand-css",
3
- "version": "0.83.0-rc.4ec10de1",
3
+ "version": "0.83.0-rc.79bfdd51",
4
4
  "description": "CSS stylesheets for Primer Brand components",
5
5
  "keywords": [
6
6
  "primer",