MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Google-route Citys disappear changing height/width

    Troubleshooting
    2
    10
    1231
    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.
    • T
      thedk last edited by thedk

      Hey Guys,
      colud somebody explain to me why the citys are disappearing when i change the width or the height?
      When they are on 250 px erverything is normal.
      0_1550066323635_Unbenannt.jpg

      1 Reply Last reply Reply Quote 0
      • T
        thedk last edited by

        Tried to change the size of the modul in der custom.css. When i do that, the modul just moves to down or to side, out of the display.
        Nobody with the same issue?

        1 Reply Last reply Reply Quote 0
        • J
          j.e.f.f Project Sponsor Module Developer last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • J
            j.e.f.f Project Sponsor Module Developer last edited by

            Changing the size of the module might not be enough. You might have to change the size of the map as well. Use the inspector that comes up when you start MM with npm start dev to figure out what elements you need to target in your CSS.

            1 Reply Last reply Reply Quote 0
            • T
              thedk last edited by

              Could you explain me how to do this?

              J 1 Reply Last reply Reply Quote 0
              • J
                j.e.f.f Project Sponsor Module Developer @thedk last edited by

                @thedk start by reading through this thread:

                https://forum.magicmirror.builders/topic/6808/css-101-getting-started-with-css-and-understanding-how-css-works

                It goes through how to use the dev tools console to inspect HTML elements for the CSS is use

                If you still have questions, post back here and I’ll help as best I can.

                1 Reply Last reply Reply Quote 0
                • T
                  thedk last edited by

                  Thanks for your help.
                  So i have to change the size of the region where the modul is i guess.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    j.e.f.f Project Sponsor Module Developer @thedk last edited by

                    @thedk and maybe the region where the map is displayed too. Very possiblenit is sized independently of the outer module wrapper. I can’t say for sure since I haven’t used the module but it would be where I would start looking if I wanted to resize it.

                    1 Reply Last reply Reply Quote 0
                    • T
                      thedk last edited by thedk

                      tested it and i dont know why, but it doesnt work.
                      Thats my custom.css

                       body {
                       	
                       }
                      
                      .normal {
                        color: #fff;
                      }
                      
                      .region.top.right,
                      .region.top.left,
                      .region.top.center {
                        top: 80%;
                      }
                      
                      .region.bottom.right,
                      .region.bottom.center,
                      .region.bottom.left {
                        bottom: 80%;
                      }
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • T
                        thedk last edited by

                        Also with max-width and max-height the map doesnt get smaller, it just moves out of the Display.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy