-
Notifications
You must be signed in to change notification settings - Fork 14
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
Maintain left and right padding when embedded #24
Comments
Is the solution to this below setting? .time-picker-row.embedded { Because this does not appear to be working for me, even after clearing cache. |
did you delete the *.gz version of the card? If you don't that gets used instead so any changes you make to the *.js won't take effect. |
Ah, that indeed was needed. Thanks a lot. I actually changed it to padding: 0px 16px 0px; for a more condensed look. |
Hi, If I understand correctly, you have 2 embedded cards - one with This is the expected default behavior:
Using |
Version 1.3.0 adds a |
Hi, I'm wanting to use
![image](https://user-images.githubusercontent.com/127809/130348794-892d5900-5257-46cf-bed4-e202abac8d4c.png)
embedded: true
to reduce the vertical padding between multiple instances of the card however when enabled the left and right padding is also lost making the start of the card misaligned with other cards in the view:I had a look at the code and tried adding padding values to:
but that made no difference. My JS knowledge is very limited but if you could point me to what I need to tweak I'll adjust it myself.
EDIT: looks like it was just my browser cache misbehaving. This change is doing as I wanted.
The text was updated successfully, but these errors were encountered: