@objectifthunes/whiteboard 0.5.3 → 0.5.4
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/whiteboard.css +12 -4
- package/package.json +1 -1
package/dist/whiteboard.css
CHANGED
|
@@ -1602,18 +1602,25 @@ button.chip:hover {
|
|
|
1602
1602
|
min-height: 1rem;
|
|
1603
1603
|
}
|
|
1604
1604
|
|
|
1605
|
-
/*
|
|
1605
|
+
/* every control inside a toolbar shares ONE height — buttons, inputs,
|
|
1606
|
+
icon buttons all sit on the same rhythm */
|
|
1607
|
+
.toolbar {
|
|
1608
|
+
--wb-chrome-control: 2.2rem;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1606
1611
|
.toolbar .wb-btn {
|
|
1607
|
-
|
|
1612
|
+
height: var(--wb-chrome-control);
|
|
1613
|
+
padding: 0 0.72rem;
|
|
1608
1614
|
font-size: var(--wb-fs-md);
|
|
1609
1615
|
}
|
|
1610
1616
|
|
|
1611
|
-
/* inputs and chips inside a toolbar match the button rhythm */
|
|
1612
1617
|
.toolbar input:not([type]),
|
|
1613
1618
|
.toolbar input[type='text'],
|
|
1614
1619
|
.toolbar input[type='number'],
|
|
1615
1620
|
.toolbar input[type='search'] {
|
|
1616
|
-
|
|
1621
|
+
height: var(--wb-chrome-control);
|
|
1622
|
+
box-sizing: border-box;
|
|
1623
|
+
padding: 0 0.5rem;
|
|
1617
1624
|
font-size: var(--wb-fs-md);
|
|
1618
1625
|
line-height: 1.2;
|
|
1619
1626
|
}
|
|
@@ -1665,6 +1672,7 @@ button.chip:hover {
|
|
|
1665
1672
|
min-width: 2.2rem;
|
|
1666
1673
|
padding: 0;
|
|
1667
1674
|
justify-content: center;
|
|
1675
|
+
flex: none;
|
|
1668
1676
|
}
|
|
1669
1677
|
|
|
1670
1678
|
.toolbar .wb-btn--icon-only {
|