• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-Cocktails

Scheduled Pinned Locked Moved Entertainment
24 Posts 8 Posters 11.9k Views 8 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    Mykle1 Project Sponsor Module Developer
    last edited by Mykle1 Jan 20, 2018, 12:42 AM Jan 20, 2018, 12:41 AM

    The new look! Courtesy of our friend @Cowboysdude.

    Thanks bro!

    0_1516408884324_Capture.PNG

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 1
    • D Offline
      doubleT Module Developer
      last edited by Jan 20, 2018, 1:08 AM

      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.

      M 1 Reply Last reply Jan 20, 2018, 1:20 AM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @doubleT
        last edited by Jan 20, 2018, 1:20 AM

        @doubleT

        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!

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer
          last edited by Jan 29, 2018, 3:40 AM

          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

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • A Offline
            Alex2020
            last edited by Jan 20, 2020, 11:20 PM

            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.

            C M 2 Replies Last reply Jan 21, 2020, 3:04 AM Reply Quote 0
            • C Offline
              cowboysdude Module Developer @Alex2020
              last edited by Jan 21, 2020, 3:04 AM

              @Alex2020 Perhaps someone can translate for you… I have no idea what you’re saying. I really wish I could help here…

              S 1 Reply Last reply Jan 21, 2020, 3:25 AM Reply Quote 0
              • S Offline
                sdetweil @cowboysdude
                last edited by Jan 21, 2020, 3:25 AM

                @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

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                C 1 Reply Last reply Jan 22, 2020, 1:32 AM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @Alex2020
                  last edited by Jan 21, 2020, 10:37 PM

                  @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.

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @sdetweil
                    last edited by Jan 22, 2020, 1:32 AM

                    @sdetweil Thank you Sam!

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cowboysdude Module Developer
                      last edited by Jan 22, 2020, 1:34 AM

                      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…

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy