home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.07k stars 2.79k forks source link

Lovelace entities card buttons are too big #13201

Closed yaranzo closed 2 years ago

yaranzo commented 2 years ago

Checklist

Describe the issue you are experiencing

As of 2022.6.0, the buttons on the entities card are enlarged on the right side, which cause the icon to be off-center. Happens no matter what theme is in use, image

Describe the behavior you expected

The icons to be centered in the button, and for said buttons to be circular, as they were in the past.

Steps to reproduce the issue

  1. Adding any button to an entities card.

What version of Home Assistant Core has the issue?

2022.6.0 to 2022.7.4

What was the last working version of Home Assistant Core?

2022.5.5

In which browser are you experiencing the issue with?

Mozilla Firefox 102.0.1, Microsoft Edge 103.0.1264.49 and iOS companion app

Which operating system are you using to run this browser?

Windows 10 Pro 21H1, build 19043.928 and iOS 15.5

State of relevant entities

No response

Problem-relevant frontend configuration

type: entities
entities:
  - type: buttons
    entities:
      - entity: light.living_room_dimmer
      - entity: light.gundam
      - entity: light.living_room_bookcase
      - entity: switch.media_console_outlet
      - entity: switch.television_plug_outlet
      - entity: remote.43_tcl_roku_tv
      - entity: switch.living_room_humidifier
  - type: divider
  - entity: binary_sensor.living_room_motion_sensor_occupancy
    name: Motion
  - entity: sensor.living_room_motion_light_level
    name: Light level
  - entity: sensor.living_room_thermostat_temperature
    name: Temperature
  - entity: sensor.living_room_air_quality_2
    name: Air quality
title: Living room
theme: ios-dark-mode-blue-red
state_color: true
show_header_toggle: false

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.