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/lib/index.js CHANGED
@@ -6863,7 +6863,7 @@ var usePanelPosition = function (_a) {
6863
6863
  var panelRect = panel.getBoundingClientRect();
6864
6864
  var containerRect = container.getBoundingClientRect();
6865
6865
  var buttonRect = button.getBoundingClientRect();
6866
- var buttonLeft = buttonRect.left - containerRect.left - 30; // Offset by 30px to account for controls section spacing
6866
+ var buttonLeft = buttonRect.left - containerRect.left - 10; // Offset by 10px to account for controls section spacing
6867
6867
  var left = Math.max(0, Math.min(buttonLeft, containerRect.width - panelRect.width));
6868
6868
  setLocalStyles({ left: left });
6869
6869
  }, [selectedFilter, isMobile]);