@polygrid/core 1.0.545 → 1.0.546

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/dist/polygrid.css CHANGED
@@ -1319,21 +1319,22 @@
1319
1319
  .pg-toolbar .container {
1320
1320
  display: flex;
1321
1321
  align-items: center;
1322
- justify-content: flex-start;
1323
1322
  width: 100%;
1323
+ gap: 5px;
1324
1324
  }
1325
1325
 
1326
- .pg-toolbar .container > * {
1327
- flex-shrink: 0;
1326
+ .pg-toolbar .container > :not(pg-spacer) {
1327
+ flex: 0 0 auto; /* never grow, never shrink */
1328
1328
  display: inline-flex;
1329
1329
  align-items: center;
1330
1330
  vertical-align: middle;
1331
1331
  }
1332
1332
 
1333
1333
  .pg-spacer {
1334
- flex: 1 1 auto;
1334
+ flex: 1 1 auto; /* grow to fill space */
1335
+ min-width: 0; /* allow shrinking if needed */
1335
1336
  }
1336
1337
 
1337
1338
  .pg-spacer-sized {
1338
- flex: none;
1339
+ flex: 0 0 auto; /* fixed-size spacer */
1339
1340
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polygrid/core",
3
- "version": "1.0.545",
3
+ "version": "1.0.546",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",