@7shifts/sous-chef 2.1.0 → 2.1.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/dist/index.css +2 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -784,6 +784,7 @@ Please ask a designer if you have questions about which colours to use.
|
|
|
784
784
|
._azbIG {
|
|
785
785
|
width: 40px;
|
|
786
786
|
padding: 16px;
|
|
787
|
+
box-sizing: content-box;
|
|
787
788
|
}
|
|
788
789
|
/*********************************
|
|
789
790
|
For new colours, see _colors.scss.
|
|
@@ -830,6 +831,7 @@ Please ask a designer if you have questions about which colours to use.
|
|
|
830
831
|
|
|
831
832
|
._LoIvx {
|
|
832
833
|
width: 40px;
|
|
834
|
+
box-sizing: content-box;
|
|
833
835
|
}
|
|
834
836
|
|
|
835
837
|
._3VjFP {
|
package/dist/index.js
CHANGED
|
@@ -239,8 +239,8 @@ var updateMisalignedOverlay = function updateMisalignedOverlay(overlayPosition,
|
|
|
239
239
|
if (overlayPosition.left > arrowPosition.left) {
|
|
240
240
|
left = arrowPosition.left - ARROW_MARGIN;
|
|
241
241
|
} else if (overlayPosition.left + tooltipRectPosition.width < arrowPosition.left + ARROW_WIDTH) {
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
left = arrowPosition.left - tooltipRectPosition.width + ARROW_WIDTH + ARROW_MARGIN;
|
|
243
|
+
}
|
|
244
244
|
|
|
245
245
|
return _extends({}, overlayPosition, {
|
|
246
246
|
left: left
|