Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tags in post cards from search results #895

Merged
merged 9 commits into from
Feb 23, 2024

Conversation

BernatBC
Copy link
Contributor

@BernatBC BernatBC commented Feb 14, 2024

Issue

When tags are enabled in post cards, they don't appear in the post search results.

Description

As you can see from the screenshot, if posts have different tags, the height is not adjusted at all. I've been looking how to get it fixed for a while, but I couldn't find the solution. If someone finds it, please tell me.

Test Evidence

on_card: true

image

on_card: false

image

Copy link

netlify bot commented Feb 14, 2024

Deploy Preview for toha-ci ready!

Name Link
🔨 Latest commit 5b3d489
🔍 Latest deploy log https://app.netlify.com/sites/toha-ci/deploys/65d8d737eef7f5000803d745
😎 Deploy Preview https://deploy-preview-895--toha-ci.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@BernatBC BernatBC marked this pull request as ready for review February 19, 2024 07:28
@BernatBC
Copy link
Contributor Author

After fixing both issues, now it's ready:
image

@hossainemruz
Copy link
Member

Look like some CSS was not applied properly.

This is what search result look like on your PR:
image

This is what it is look like in the demo site.

image

@BernatBC
Copy link
Contributor Author

I think that behaivour was already happening before the PR, but for some reason does not happen in my site. I'll check it soon

@hossainemruz
Copy link
Member

hossainemruz commented Feb 23, 2024

Hi @BernatBC, I have found the issue that was causing CSS not applied properly and did a workaround. Things are good now.
image

Copy link
Member

@hossainemruz hossainemruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @BernatBC

@hossainemruz hossainemruz merged commit 1ec4cd2 into hugo-toha:main Feb 23, 2024
10 of 12 checks passed
@BernatBC BernatBC deleted the add-tags-search-results branch February 25, 2024 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants