Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Implemented new designs for invite-only and private challenge cards #726

Merged
merged 1 commit into from
Feb 10, 2016

Conversation

vikasrohit
Copy link
Contributor

SUP-2839, Profile: # of wins in summary does not match winning challenges shown on Profile
SUP-3012, [Profile] Implement "private challenge" card

-- Implemented new design (background, text and font) for both invite-only and private challenge cards in tile and list views

@fnisen @vic-appirio @nlitwin Please let me know if anything is out of standards.

…nges shown on Profile

SUP-3012, [Profile] Implement "private challenge" card

-- Implemented new design (background, text and font) for both invite-only and private challenge cards in tile and list views
vikasrohit pushed a commit that referenced this pull request Feb 10, 2016
…y-challenge-card

Implemented new designs for invite-only and private challenge cards
@vikasrohit vikasrohit merged commit 8988230 into dev Feb 10, 2016
img(ng-src=require("../../../assets/images/ico-invite-only-prj.svg"))
span INVITE-ONLY CHALLENGE
span CHALLENGE INFORMATION IS CONFIDENTIAL#[br]RESULTS ARE NOT INCLUDED IN STATISTICS
Copy link
Contributor

Choose a reason for hiding this comment

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

I know it's a little bit of a hassle, but I think semantically <br> shouldn't be used here. Two <p> tags might be able to work in its place? Not totally crucial to change though :bowtie:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Nick for the review. I also thought of that, however, using

does not seems good solution to me because many times p's margin/padding creates differences in rendering for different browsers. I would try to use two divs instead whenever I get chance to revisit this. 😁

Copy link
Contributor

Choose a reason for hiding this comment

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

Do the browsers render them differently even with our CSS reset?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally they should not after CSS reset, but I don't trust them. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants