Read the statement by Michael Teeuw here.
MMM-Cocktails
-
I didn’t look at the code, yet, but I think I see a possible issue (just from the image):
Either they forgot the grenadine juice in the ingredient list – or you’re cutting off the ingredient list too short (after 5 elements).From a Web Design standpoint I’d also suggest using “left-aligned”, or maybe “justified” for the receipt.
-
Well, I imagine there are more than a few mistakes in this module. It was my very first, 9 months ago. Three months before that I didn’t know what a Raspberry Pi was. I have absolutely no background in code. I’m a retired police officer that finds this stuff very interesting, fun and fascinating. I’ve learned quite a bit in 1 year. Not bad for an old guy and grandfather of 2, if I do say so myself. I’m still amazed that I can make any of this work. :-)
Feel free to make any corrections you think are necessary. Then, load the module, mix a drink, throw it back, and chill. :-)
Peace!
-
Corrected an error that was being thrown after the last modification. It didn’t stop the module from running but who wants to see those ugly red errors in the console? Not me. Hell no! :-)
Peace
-
Salve una domanda quale comando bisogna scrivere per far si che quando passa da un ‘coktail’ ad un altro la tabella mi rimanga sempre della stessa larghezza e altezza?Grazie.
-
@Alex2020 Perhaps someone can translate for you… I have no idea what you’re saying. I really wish I could help here…
-
@cowboysdude come on man, google italian to english (google is your friend)
Hi a question which command do you have to write to ensure that when I switch from one ‘cocktail’ to another the table always remains of the same width and height? Thanks
-
@Alex2020 said in MMM-Cocktails:
Salve una domanda quale comando bisogna scrivere per far si che quando passa da un ‘coktail’ ad un altro la tabella mi rimanga sempre della stessa larghezza e altezza?Grazie.
@Alex2020 come on man, google italian to english (google is your friend)
I think you are looking for
maxWidth: "400px",
which you can apply in your config entry and set to the size that works best for you. -
@sdetweil Thank you Sam!
-
That’s a tough one because the recipe changes and so do the size of the list of ingredients. Unless you make a really big container…