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

Text is cut off on mobile #79

Open
2 tasks done
marcuscps opened this issue Aug 29, 2024 · 0 comments
Open
2 tasks done

Text is cut off on mobile #79

marcuscps opened this issue Aug 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@marcuscps
Copy link

marcuscps commented Aug 29, 2024

Checklist:

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

Release with the issue:
1.13.0

Last working release (if known):

Browser and Operating System:
Android Pixel 7

Description of problem:

The Text is getting cut off on mobile (vertically). Characters like g (that extend below the text baseline) at getting chopped off.

Javascript errors shown in the web inspector (if applicable):
None

Additional information:

I can reproduce it this way:

type: custom:slider-button-card
entity: climate.living_room
name: Living Room
compact: true
show_name: true
show_state: true
show_attribute: true
attribute: current_temperature
slider:
  background: gradient
  show_track: true
  toggle_on_click: false
  show_attribute: false
  direction: left-right
  use_percentage_bg_opacity: true
  use_state_color: true
  force_square: false
icon:
  show: true
  icon: mdi:heating-coil
  use_state_color: true
  tap_action:
    action: more-info
action_button:
  show: false

Looks like this:
Screenshot_20240829-181058

And when slidding:
Screenshot_20240829-181123

@marcuscps marcuscps added the bug Something isn't working label Aug 29, 2024
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