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

feat: Add optional info icon to top right of cards #149

Closed
wants to merge 4 commits into from

Conversation

taigrr
Copy link
Contributor

@taigrr taigrr commented Oct 26, 2020

Description

No new dependencies for this feature, screenshots attached below.
New options for services were bundled into the Generic card and allow an optional info link to be set with the info and infotarget properties.

Note this UI/UX change moves the tag element from the top to the bottom right of the card to make room for the new icon.

Fixes #125
image
image

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • I read & comply with the contributing guidelines
  • I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.
  • I have made corresponding changes the documentation (README.md).
  • I've check my modifications for any breaking change, especially in the config.yml file

@bastienwirtz
Copy link
Owner

thanks for the PR @taigrr! I'll look into it and test it asap.

@taigrr
Copy link
Contributor Author

taigrr commented Nov 2, 2020

Hey @bastienwirtz any chance you could revisit this and #153 #154 and #147 ?

Copy link
Owner

@bastienwirtz bastienwirtz left a comment

Choose a reason for hiding this comment

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

Looks good otherwise 👍 Thanks, @taigrr.

.media-content {
overflow: hidden;
text-overflow: inherit;
}
.infolink {
font-family: "Font Awesome 5 Free";
Copy link
Owner

Choose a reason for hiding this comment

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

Have you tried without this line? as we use the <i> tag with the css class, I don't think that's needed (other icons works without it)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll take a look right now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Specifically line 219 or the entire block?

Copy link
Owner

Choose a reason for hiding this comment

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

Just the line 219 yes.

Choose a reason for hiding this comment

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

Any update on this PR?

Copy link

Choose a reason for hiding this comment

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

Any update?

@taigrr taigrr closed this May 21, 2021
@MD023 MD023 mentioned this pull request Jul 23, 2024
7 tasks
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.

[feature] add link (for e.g to documentation)
4 participants