Skip to content

Commit 5fd91a4

Browse files
committed
added 'w-fit' to grant item wrapper, so this should ensure the div expands to show all components on smaller screens
1 parent 093bca6 commit 5fd91a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/main-page/grants/grant-list/GrantItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const GrantItem: React.FC<GrantItemProps> = ({ grant, defaultExpanded = false })
171171
}
172172

173173
return (
174-
<div className="grant-item-wrapper">
174+
<div className="grant-item-wrapper w-fit">
175175
<div
176176
className={`grant-summary p-4 ${isExpanded ? "expanded rounded-b-none" : ""} grid grid-cols-5 items-center`}
177177
onClick={toggleExpand}

0 commit comments

Comments
 (0)