willba-component-library 0.3.21 → 0.3.22
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/README.md +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +1 -1
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilterBar/FilterBar.stories.tsx +1 -1
- package/src/components/FilterBar/hooks/usePanelPosition.tsx +1 -1
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ export const usePanelPosition = ({
|
|
|
39
39
|
const containerRect = container.getBoundingClientRect()
|
|
40
40
|
const buttonRect = button.getBoundingClientRect()
|
|
41
41
|
|
|
42
|
-
const buttonLeft = buttonRect.left - containerRect.left -
|
|
42
|
+
const buttonLeft = buttonRect.left - containerRect.left - 10 // Offset by 10px to account for controls section spacing
|
|
43
43
|
|
|
44
44
|
const left = Math.max(
|
|
45
45
|
0,
|