@liberation-data/desk 0.21.0 → 0.21.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.
@@ -408,7 +408,8 @@
408
408
  }
409
409
 
410
410
  .desk-pane-title {
411
- min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2);
411
+ box-sizing: border-box;
412
+ min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2 + 1px);
412
413
  padding: var(--desk-space-2) var(--desk-space-4);
413
414
  border-bottom: 1px solid var(--desk-rule);
414
415
  }
@@ -460,8 +461,10 @@
460
461
  align-items: center;
461
462
  flex-wrap: wrap;
462
463
  gap: var(--desk-space-2);
463
- /* One centre line for everything in the row, whatever each control's own height is. */
464
- min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2);
464
+ /* One centre line for everything in the row, whatever each control's own height is. The height
465
+ counts the padding and the rule, so a row with a control in it is no taller than one without. */
466
+ box-sizing: border-box;
467
+ min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2 + 1px);
465
468
  padding: var(--desk-space-2) var(--desk-space-3);
466
469
  border-bottom: 1px solid var(--desk-rule);
467
470
  }
package/dist/desk.css CHANGED
@@ -517,7 +517,8 @@
517
517
  }
518
518
 
519
519
  .desk-pane-title {
520
- min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2);
520
+ box-sizing: border-box;
521
+ min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2 + 1px);
521
522
  padding: var(--desk-space-2) var(--desk-space-4);
522
523
  border-bottom: 1px solid var(--desk-rule);
523
524
  }
@@ -569,8 +570,10 @@
569
570
  align-items: center;
570
571
  flex-wrap: wrap;
571
572
  gap: var(--desk-space-2);
572
- /* One centre line for everything in the row, whatever each control's own height is. */
573
- min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2);
573
+ /* One centre line for everything in the row, whatever each control's own height is. The height
574
+ counts the padding and the rule, so a row with a control in it is no taller than one without. */
575
+ box-sizing: border-box;
576
+ min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2 + 1px);
574
577
  padding: var(--desk-space-2) var(--desk-space-3);
575
578
  border-bottom: 1px solid var(--desk-rule);
576
579
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liberation-data/desk",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "A desktop for the web, for React: windows, a dock, menus and commands, controls, tours and setup assistants.",
5
5
  "keywords": [
6
6
  "react",
@@ -407,7 +407,8 @@
407
407
  }
408
408
 
409
409
  .desk-pane-title {
410
- min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2);
410
+ box-sizing: border-box;
411
+ min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2 + 1px);
411
412
  padding: var(--desk-space-2) var(--desk-space-4);
412
413
  border-bottom: 1px solid var(--desk-rule);
413
414
  }
@@ -459,8 +460,10 @@
459
460
  align-items: center;
460
461
  flex-wrap: wrap;
461
462
  gap: var(--desk-space-2);
462
- /* One centre line for everything in the row, whatever each control's own height is. */
463
- min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2);
463
+ /* One centre line for everything in the row, whatever each control's own height is. The height
464
+ counts the padding and the rule, so a row with a control in it is no taller than one without. */
465
+ box-sizing: border-box;
466
+ min-height: calc(var(--desk-control-height) + var(--desk-space-2) * 2 + 1px);
464
467
  padding: var(--desk-space-2) var(--desk-space-3);
465
468
  border-bottom: 1px solid var(--desk-rule);
466
469
  }