We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6e354c commit 5150e78Copy full SHA for 5150e78
components/containers/Card.js
@@ -31,7 +31,7 @@ export default function Card({
31
</h2>
32
{tagList && tagList.length > 0 ? (
33
<div className={styles.tagListContainer}>
34
- {tagList.map((tag, i) => (
+ {tagList.slice(0, 8).map((tag, i) => (
35
<Tag key={i} text={tag} />
36
))}
37
</div>
styles/Card.module.scss
@@ -131,6 +131,9 @@
131
132
.tagListContainer {
133
display: flex;
134
+ flex-wrap: wrap;
135
+ max-height: 12rem;
136
+ overflow: hidden;
137
gap: 0.5rem;
138
margin-bottom: -1rem;
139
}
0 commit comments