8000 Merge branch 'main' into open-external-links-in-new-tab · anshvert/TheAlgorithms-Website@81596fc · GitHub
[go: up one dir, main page]

Skip to content

Commit 81596fc

Browse files
authored
Merge branch 'main' into open-external-links-in-new-tab
2 parents cf0e977 + 8b95b76 commit 81596fc

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

components/algorithmsList/algorithmCard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function AlgorithmCard({ algorithm }: { algorithm: Algorithm }) {
2020
const t = useTranslation();
2121

2222
return (
23-
<Card className="elevateOnHover">
23+
<Card className={`elevateOnHover ${classes.stretchedCard}`}>
2424
<CardContent>
2525
<Breadcrumbs>
2626
{algorithm.categories.map((category) => (

components/algorithmsList/algorithmCard/style.module.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,10 @@
3535
.actions {
3636
justify-content: space-between;
3737
}
38+
39+
.stretchedCard {
40+
height: 100%;
41+
display: flex;
42+
flex-direction: column;
43+
justify-content: space-between;
44+
}

0 commit comments

Comments
 (0)
0