Skip to content

v2.1.0 – Configurable button positioning

Choose a tag to compare

@rewdboy rewdboy released this 13 Jan 22:02
· 12 commits to master since this release

[2.1.0] – 2025-01-13

Added

  • Configurable button position via corner attribute (top-right, top-left, bottom-right, bottom-left)
  • Short-hand aliases for corner (tr, tl, br, bl)
  • Optional offset attribute to control distance from viewport edges
  • Improved CSS structure with a dedicated container element for positioning

Changed

  • Button positioning is now handled exclusively by the container element instead of the button itself
  • CSS updated to prevent positional conflicts when switching corners