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

Linked card #25087

Closed
wants to merge 5 commits into from
Closed

Linked card #25087

wants to merge 5 commits into from

Conversation

MartijnCuppens
Copy link
Member

@MartijnCuppens MartijnCuppens commented Dec 26, 2017

Fixes #18294:

  • Possibility to add .card-full-link class to links inside card. This adds a ::before pseudo-element to the link which is stretched over the card.
  • Possibility to wrap the content of the card in a link with .card-full-link class. No styling is influenced by doing this.

@andresgalante
Copy link
Collaborator

Hi @MartijnCuppens this is an intresting concept, and I think a full clickable card is a common use case.

To be honest I don't like the class name .card-full-link but I'll let @mdo decide on it.

scss/_card.scss Outdated
}

:not(.card) > & {
&::after{
Copy link
Collaborator

Choose a reason for hiding this comment

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

there is a space missing after the after

@MartijnCuppens
Copy link
Member Author

Thx for the review @andresgalante. The name of the class could indeed be improved.

@eugen0188
Copy link

Nice work. How about cursor:pointer on the whole card?

@MartijnCuppens
Copy link
Member Author

Closing this, #26184 covers this

@MartijnCuppens MartijnCuppens deleted the linked-card branch July 19, 2018 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants