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 13.8k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Mykle1

      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

        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.

        Mykle1M 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @doubleT
          last edited by

          @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
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by

            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
            • Alex2020A Offline
              Alex2020
              last edited by

              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.

              cowboysdudeC Mykle1M 2 Replies Last reply Reply Quote 0
              • cowboysdudeC Offline
                cowboysdude Module Developer @Alex2020
                last edited by

                @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 Reply Quote 0
                • S Offline
                  sdetweil @cowboysdude
                  last edited by

                  @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

                  cowboysdudeC 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @Alex2020
                    last edited by

                    @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
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @sdetweil
                      last edited by

                      @sdetweil Thank you Sam!

                      1 Reply Last reply Reply Quote 0
                      • cowboysdudeC Offline
                        cowboysdude Module Developer
                        last edited by

                        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