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 Clamp to the description in gallery & Add Gallery item in Menu #124

Merged
merged 6 commits into from
Feb 11, 2020

Conversation

hueitan
Copy link
Member

@hueitan hueitan commented Feb 5, 2020

more than 3 lines.

Capture

@hueitan
Copy link
Member Author

hueitan commented Feb 5, 2020

This pr includes adding Gallery item into menu.

@hueitan hueitan changed the title Add Clamp to the description in gallery Add Clamp to the description in gallery & Add Gallery item in Menu Feb 5, 2020
Copy link
Collaborator

@stephanebisson stephanebisson left a comment

Choose a reason for hiding this comment

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

Doesn't always work as expected. In this case, the description is 3 lines and the ellipsis appears:
Screen Shot 2020-02-05 at 14 27 47

src/components/Gallery.js Outdated Show resolved Hide resolved
style/gallery.less Outdated Show resolved Hide resolved
@hueitan
Copy link
Member Author

hueitan commented Feb 6, 2020

can you give me the article name of your screenshot example?

@hueitan
Copy link
Member Author

hueitan commented Feb 6, 2020

we cannot confirm the ellipsis at the end of the text in 3rd line, we can only insert ... in the end not the end of the text, see the screenshot

Capture


I'm thinking of another solution of having opacity in the bottom text between 3rd and 4th lines

will try and see the possible way to do it then comment on phab.

@stephanebisson
Copy link
Collaborator

we cannot confirm the ellipsis at the end of the text in 3rd line, we can only insert ... in the end not the end of the text

It's true, we have the same problem with clamping on the article title. I think we can let it go into QA and product sign off.

Copy link
Collaborator

@stephanebisson stephanebisson left a comment

Choose a reason for hiding this comment

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

@jpita ready for testing

@jpita jpita merged commit 7ac406f into master Feb 11, 2020
@jpita jpita deleted the Gallery-Description-Clamp branch February 11, 2020 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants