Skip to content

Commit fb21b1f

Browse files
isubrotogitbutler-client
authored andcommitted
fix(components): Improve Select and Link component positioning
Implement portal-based dropdown positioning for Select component - Add dynamic positioning for dropdown menus - Use createPortal for rendering dropdowns outside component tree - Improve scroll and resize handling for dropdown positioning - Add data attribute for trigger element selection Update Link component text span to full width - Adjust span class to ensure full width coverage These changes enhance dropdown usability and link text rendering across the application.
1 parent b79dde2 commit fb21b1f

File tree

2 files changed

+231
-125
lines changed

2 files changed

+231
-125
lines changed

src/components/Link/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const Link = React.forwardRef<HTMLAnchorElement, LinkProps>(
119119
)}
120120

121121
{/* Link text */}
122-
<span className="relative">{children}</span>
122+
<span className="relative w-full">{children}</span>
123123

124124
{/* External link icon */}
125125
{isExternal && !disabled && (

0 commit comments

Comments
 (0)