Skip to content

Commit e3282bf

Browse files
authored
fix: correctly stretch Actor template cards (#2076)
This PR fixes the stretching for Actor template cards. Before: <img width="1271" height="386" alt="image" src="https://github.com/user-attachments/assets/ca44f09e-0f31-4098-b6c7-dd59187b5a41" /> After: <img width="1390" height="386" alt="image" src="https://github.com/user-attachments/assets/f38203c9-8788-4228-9175-d360f58d2953" /> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Set direct child anchors in `ActorTemplatesWrapper` to `display: flex` so `ActorTemplateCard` tiles stretch uniformly. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 46eba8b. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent f4177b1 commit e3282bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/ActorTemplates/ActorTemplates.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ const ActorTemplatesWrapper = styled.div`
3636
margin: 0 auto;
3737
gap: ${theme.space.space24};
3838
39+
> a {
40+
display: flex;
41+
}
42+
3943
@media (min-width: ${theme.layout.tablet}) {
4044
grid-template-columns: repeat(2, 1fr);
4145
}

0 commit comments

Comments
 (0)