@ai-matrx/canvas 0.8.0 → 0.8.2

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/styles.css CHANGED
@@ -521,7 +521,9 @@
521
521
  */
522
522
  .mxc-tab {
523
523
  position: relative;
524
- flex: 0 1 12rem;
524
+ /* A definite width (not only a flex-basis) so the tab list's own size counts 12rem per tab. */
525
+ flex: 0 1 auto;
526
+ width: 12rem;
525
527
  min-width: var(--mxc-tab-min, 120px);
526
528
  max-width: 12rem;
527
529
  display: flex;
@@ -601,7 +603,8 @@
601
603
  */
602
604
  .mxc-tab-group {
603
605
  position: relative;
604
- flex: 0 1 calc(var(--mxc-group-n, 2) * 12rem);
606
+ flex: 0 1 auto;
607
+ width: calc(var(--mxc-group-n, 2) * 12rem);
605
608
  min-width: calc(var(--mxc-group-n, 2) * var(--mxc-tab-min, 120px));
606
609
  display: flex;
607
610
  align-items: center;
@@ -613,6 +616,7 @@
613
616
 
614
617
  .mxc-tab-group > .mxc-tab {
615
618
  flex: 1 1 0;
619
+ width: auto;
616
620
  min-width: 0;
617
621
  max-width: none;
618
622
  background: transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/canvas",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "The AI Matrx canvas: a docked right-hand column with split panes, tabs, full screen, a kind registry, Redux-compatible state and persistence.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",