Currently, the homepage is displaying incorrectly on the Samsung S23 Ultra. A single post is causing text to overflow and break the entire layout.
Is this issue caused by the post itself or a theme component bug?
Thank you!
Is this issue caused by the post itself or a theme component bug?
Thank you!
I have checked and found that the issue is caused by a Google Maps link in the post.
If the link is in the format maps.google.com, it works fine.
Is the Topic Cards component getting ready for Upcoming topic-list changes - how to prepare themes and plugins? I just upgraded discourse and got a notice for admins saying that this component needs to be updated.
It has already been updated, so you shouldnât be seeing any warnings. Can you double check that youâre running the latest official version of this component, and not a fork?
Argh, true! My bad. I had forgotten that we are running GitHub - communiteq/discourse-topic-cards: This changed the topic list into cards with a modified layout, and a thumbnail if available.. https://github.com/communiteq/discourse-topic-cards
@RGJ sorry to bother you, do you know if whatâs the difference currently between your fork and the main repo?
Yes, the main repo has been properly maintained⊠I will get to this in the beginning of next week.
Mobile version for some reason are broken when component âtopic excerptâ are enabled and without it too ( iâve two themes with and without this component and both broke) ÂŻ\_(ă)_/ÂŻ so this css itâs enough
PS: Paste this code at mobile scss from admin dashboard
.topic-card__excerpt-text {
display: -webkit-box !important;
-webkit-line-clamp: 3 !important;
-webkit-box-orient: vertical !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
max-width: 100% !important;
word-wrap: break-word !important;
white-space: normal !important;
}
.topic-card__excerpt {
max-width: 100% !important;
overflow: hidden !important;
}
.topic-list-item {
overflow: hidden !important;
max-width: 100% !important;
white-space: normal !important;
}
td {
max-width: 100% !important;
overflow: hidden !important;
white-space: normal !important;
}
How can this be applied to only a single category, or list of categories, like Topic Thumbnails?
Youâd need to add the logic to the component. If thatâs not on the official roadmap, then only by forking it.
Yes, this is something we would definitely need, as well. @jordan-violet did you do what @nolo suggestedâŠ
I donât have the technical know-how to do this.
We went a different direction that we liked more. Weâre using Topic List Thumbnails and then we added some of our own CSS to have it look/behave the way we wanted. You can see it in action here:
Looks good
Hey, that means a lot coming from you! Thanks!