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

Incorrect number split when viewed on HA Android App #31

Open
Mattie432 opened this issue Mar 2, 2023 · 0 comments
Open

Incorrect number split when viewed on HA Android App #31

Mattie432 opened this issue Mar 2, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Mattie432
Copy link

Checklist:

  • [*] I updated to the latest version available
  • [*] I cleared the cache of my browser

Release with the issue: v0.4

Last working release (if known): n/a

Browser and Operating System: Android Home Assistant App

Note: does not happen when viewed from a mobile browser, seems to be app specific.

Description of problem:
Margins for the .rotor-leaf-front, .rotor-trans-top, .rotor-top components seem to be incorrect specifically when viewing through the mobile HA app.

image

Video
The above demonstrates the issue, both cards are the same configuration. The bottom card has my extra JS in place to make it look correct on the HA app.

Additional information:
I am able to fix this to make it look correct through the use of card-mod to alter the CSS.

type: custom:flipdown-timer-card
entity: sensor.nest_study_timers
show_hour: false
show_title: false
show_header: false
theme: dark
style: |
  @media (max-width:600px)
  {
    .rotor-leaf-front, .rotor-trans-top, .rotor-top{
        margin-top: 6px !important;
        margin-bottom: -6px !important
    }
  }

@Mattie432 Mattie432 added the bug Something isn't working label Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant