Minima Adjustments for Topic Cards

AI-generated summary

bloomexperiment introduces a lightweight theme component called ‘Minima Adjustments for Topic Cards’ designed to enhance compatibility between Discourse Topic Cards and the Discourse Minima theme. The component resolves visual inconsistencies such as duplicate author display and adjusts the max-height of topic cards with thumbnails. A preview is available at https://forum.mellifluidity.org, and the source code is hosted on GitHub: t1-tracey/discourse-minima-topic-card-adjustments. Installation requires first setting up Discourse Minima, then adding both Discourse Topic Cards and this adjustment component as theme components. A known issue is that topic card titles are currently capped at two lines; the developer notes this may be theme-defined and plans to address it. icaria36 confirms this limitation by showing an example from the Graceful theme, where titles exceed two lines, suggesting the behavior may vary across themes. The component is intended for users seeking a clean, minimal aesthetic with functional topic previews.

Install this theme component

Lightweight Theme Component to make Discourse Topic Cards compatible with Discourse Minima


Instructions

  1. Install Discourse Minima
  2. Install Discourse Topic Cards and add as a theme component to Discourse Minima
  3. Install this theme component and add as a theme component to Discourse Minima

Details

Todo

  • fix height of cards where the title reaches 3 lines

Note

I just used my own personal Discourse site for the preview link, since I can’t install multiple components on a theme in Theme Creator.

10 Likes

It seems that the title is limited to two lines (unless this is something defined by the theme). See this example of stock Topic Cards running on the Graceful theme:

1 Like