eleventy-plugin-uncharted 0.3.0 → 0.3.1

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/css/uncharted.css CHANGED
@@ -363,7 +363,6 @@
363
363
  flex-wrap: wrap;
364
364
  align-items: center;
365
365
  align-content: center;
366
- justify-content: center;
367
366
  gap: 1rem;
368
367
  flex: 1;
369
368
  }
@@ -380,7 +379,6 @@
380
379
  /* In portrait, legend takes full width to wrap below */
381
380
  .chart-donut .donut-body > .chart-legend {
382
381
  flex: 0 0 100%;
383
- justify-content: center;
384
382
  }
385
383
 
386
384
  .chart-donut .donut-ring {
@@ -430,7 +428,6 @@
430
428
  /* Default (portrait): horizontal legend below donut */
431
429
  flex-direction: row;
432
430
  flex-wrap: wrap;
433
- justify-content: center;
434
431
  gap: 0.5rem 1rem;
435
432
  }
436
433
 
@@ -441,11 +438,11 @@
441
438
  /* Wide container: row layout with legend beside donut */
442
439
  @container donut (min-width: 24rem) {
443
440
  .donut-container,
444
- .chart-legend {
441
+ .chart-donut .donut-body > .chart-legend {
445
442
  flex: 0 0 auto;
446
443
  }
447
444
 
448
- .chart-legend {
445
+ .chart-donut .donut-body > .chart-legend {
449
446
  flex-direction: column;
450
447
  flex-wrap: nowrap;
451
448
  justify-content: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleventy-plugin-uncharted",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "An Eleventy plugin that renders CSS-based charts from CSV data using shortcodes",
5
5
  "main": "eleventy.config.js",
6
6
  "type": "module",