Closed seattlecajun closed 6 years ago
Thanks! Unfortunately I'm pretty shit at CSS so I'm about as useful as a StackOverflow search. However, I hacked my setup together a bit...below is a pic.
To achieve this you need one lyft module and two uber modules in the config. Then I changed the header for the lyft to module to header: 'UBER & LYFT WAIT TIMES',
, omitted the headers for the two uber modules, and changed the uber CSS line to margin-top: -40px;
.
As far as your lyft line issue, I never tested that ride type so you may have stumbled across a bug. I opened an issue here where we can move that discussion.
Stay tuned because I think I'll release a new version that allows you to have multiple ride types per module.
I'm closing this because it isn't an issue as it relates to the code. I'll point you here for further discussion.
haha, yeah, same here. Regarding CSS and most things linux/raspberry pi related, for that matter, I know JUST enough to get myself into trouble. Tinkering with this Magic Mirror setup for the last few weeks has been a really cool learning experiment though. :)
I saw your post on the MM forum originally, that's how I found your modules. I just wasn't sure about commenting on 4+ month old post. Some folks get really annoyed about that, but, if it's cool with you, it's cool with me!
I'm definitely fine with it. It's a forum so I think of that as a centralized place to discuss and record all conversations related to the modules.
Hi there, kudos on this module! Seriously, it's super cool and very helpful. I was wondering if you know of any CSS advice to make the display a little cleaner.
I've removed the header, which helped, and set the top margins to -20 in both the MMM-uber and MMM-lyft module CSS files, but it's still not quite right.
Oh, and I was also wondering if I'm doing this right. I want to show info for two ride_type's each - UberX, UberXL, Lyft, and Lyft Line. Right now, I'm just calling up the modules twice and specifying a different ride_type with each in order to achieve this.
Unrelated, but the Lyft module is showing "Lyft Line in 4 min + null Prime Time". I'm figuring it's just an issue with my communication through the Lyft API, but curious if you've come across that before.
Thanks again!