Closed bluzky closed 3 weeks ago
This pull request introduces a new component, HoverCard
, and makes minor adjustments to the existing Avatar
component. The HoverCard
component includes three sub-components: hover_card
, hover_card_trigger
, and hover_card_content
, each with specific attributes and rendering logic. The Avatar
component has been updated to include a new CSS class for better layout control.
Files | Changes |
---|---|
lib/salad_ui/hover_card.ex |
Introduced a new HoverCard component with three sub-components: hover_card , hover_card_trigger , and hover_card_content , along with private helper functions for alignment and styling. |
Summary by Sourcery
This pull request introduces a new HoverCard component with subcomponents for creating interactive hover cards. Additionally, it enhances the Avatar component by adding a shrink-0 class for improved layout handling.