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