# Topic Cards

**URL:** https://meta.discourse.org/t/topic-cards/296048
**Category:** Theme component
**Tags:** official, topic-cards
**Created:** [February 20, 2024, 12:04pm UTC](https://meta.discourse.org/t/topic-cards/296048 "2024-02-20T12:04:45Z")
**Posts on this page:** 1
**Showing post:** 41

<div class="post-metadata">

### Author: ![traceymoko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/traceymoko/32/483235_2.png) [@traceymoko](https://meta.discourse.org/u/traceymoko)
#### Post date: [June 21, 2024, 3:38am UTC](https://meta.discourse.org/t/topic-cards/296048/41 "2024-06-21T03:38:51Z")

</div>

> [@icaria36](#):
>
> > [@traceymoko](#):
> >
> > This is the relevant CSS that I used to fix it:
> > 
> > ```plaintext
> > // Increase max height for topic cards with thumbnail
> > .topic-card:has(.topic-card__thumbnail) {
> > max-height: 275px;
> > }
> > 
> > ```
> 
> Didn’t this mess the mobile view? I just tried it, and it messes it in my case.

Ahh yes I forgot to comment here with my update on that: I had to add that code to just the `desktop.scss` rather than `common.scss`

I can’t edit my original comment anymore but I did update it in my theme component: [Minima Adjustments for Topic Cards](https://meta.discourse.org/t/minima-adjustments-for-topic-cards/303733)

---

_[View the full topic](https://meta.discourse.org/t/topic-cards/296048)._
