vanilla-framework 4.20.2 → 4.20.3

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": "vanilla-framework",
3
- "version": "4.20.2",
3
+ "version": "4.20.3",
4
4
  "author": {
5
5
  "email": "webteam@canonical.com",
6
6
  "name": "Canonical Webteam"
@@ -231,6 +231,10 @@ $navigation-height: calc(map-get($line-heights, default-text) + 2 * $spv--large)
231
231
  // shift navigation items by the size of grid margin to align with grid
232
232
  .p-navigation__items:first-child {
233
233
  margin-left: calc(-1 * $sph--large);
234
+ }
235
+
236
+ // if there is only one navigation items list, extend it to the full width (taking into account margin shift)
237
+ .p-navigation__items:first-child:not(:has(+ .p-navigation__items)) {
234
238
  width: calc(100% + $sph--large);
235
239
  }
236
240