homebridge / homebridge-config-ui-x

The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
https://homebridge.io
MIT License
2.61k stars 370 forks source link

Fix dropdown menu position in plugin card #1928

Closed mkz212 closed 8 months ago

bwp91 commented 8 months ago

Screenshot 2023-12-10 at 15 36 53

Here seems too far away from the menu icon

mkz212 commented 8 months ago

@bwp91

I think you need also add width to dropdown. Try now (I updated code).

bwp91 commented 8 months ago

I managed to get pretty much the same behaviour here simply by changing this placement to left.

https://github.com/homebridge/homebridge-config-ui-x/blob/7c69b5a22ad83f872e76fe01d792ba55fe2c2b2d/ui/src/app/modules/plugins/plugin-card/plugin-card.component.html#L97

Seems like an easier way of getting this behaviour?

mkz212 commented 8 months ago

👍