How do I move Name/State to bottom of card to stop it from being covered in my person card? #1114
Unanswered
StaleLoafOfBread
asked this question in
Questions about config, custom styles and templates
Replies: 1 comment 1 reply
-
I guess you want to do what I made in this PR. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goal
Ultimately I want to create a person card. In that pursuit I have something I am somewhat happy with but on mobile, the main Name/State text gets covered. I am looking for ideas on how to address this. I am open to pretty much any solution that allows the info to still be presented.
I think my ideal solution would be to lower the text to the bottom of the card, separate all pieces of data with a
•
, and enable scrolling for the text when its longer than the card.My person card is very complicated and messy so I made a simple example that shows the issue at hand.
Source Yaml
Which step did you already try?
Problem
In addition to
translateY
I've tried adding margins or padding. I think maybe new divs need be created?I realize with this code the text won't scroll but I believe I solved that issue in #857 (comment)
Read the documentation
Beta Was this translation helpful? Give feedback.
All reactions