hasl-sensor / lovelace-hasl-departure-card

Lovelace Departure Card for the HASL Platform
https://hasl.sorlov.com
Apache License 2.0
15 stars 14 forks source link

Widget height/limit to display only departures in one direction #18

Open magune opened 2 years ago

magune commented 2 years ago

When using the HASL departure card to display departures from my bus stop, the height of the widget is not respected (height set by CSS with mod_card):

image image

Additionally, the direction 1,2 gives an empty list of departures, only both directions=0 gives data. Since we live very close (the stop next to) to the end station, we will never travel the one bus stop to the end station, but rather only want to se the departures in the direction of the city center.

I will try to experiment with limiting number of bus departures, but it would be nice to be able to limit widget height.

DSorlov commented 2 years ago

The fix here would be to limit the number of departures as that will control the height I think

morlic commented 1 year ago

set overflow: hidden in CSS as a quick fix?