Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

How to modify the area ratio of pictures and data in Card? #5

Open
sylvoslee opened this issue Sep 6, 2018 · 2 comments
Open

How to modify the area ratio of pictures and data in Card? #5

sylvoslee opened this issue Sep 6, 2018 · 2 comments

Comments

@sylvoslee
Copy link

How to modify the area ratio of pictures and data in Card, look forward to your reply!

@Akronix
Copy link
Collaborator

Akronix commented Sep 7, 2018

Hi @sylvoslee! Thank you for reporting this issue!
So you want to change the width or height css attributes to the Card component, the image contained on it and the text block inside the Card, is it?

That's not possible right now but I could certainly implement that in the very short term.
My doubt would be what to do with the text area size. Right now, it takes as much space as the text occupies. It might be done to become bigger if you set a bigger size for that area but I'm not sure what to do if you set a smaller size than what the text needs. In such case, should be the text be cut off? or use as much space as the text is needing anyway?

@Akronix
Copy link
Collaborator

Akronix commented Sep 12, 2018

Hi @sylvoslee! Could you explain better your use case or clarify how would you expect the API to be in order to set the area ratio of the Card elements?

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

No branches or pull requests

2 participants