MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    SOLVED change height of region

    Troubleshooting
    3
    4
    1024
    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
      Toms last edited by

      Hi,

      I have been playing around with this system ( which is great by the way !!), and I re-wrote a module that is displayed in the top_left and top_right regions.

      I show a ranking list based on a JSON file and I would like to show at least 10 items. The default height cuts off @ around 6-ish.
      Is there a way to change the height of these regoins ?

      0_1536235861867_raspberrypi.png

      I tried in the custom.css the following without succes:

      .region.top_left {
          height: 800px;
      }
      

      Thanks

      Mykle1 ? 2 Replies Last reply Reply Quote 0
      • Mykle1
        Mykle1 Project Sponsor Module Developer @Toms last edited by Mykle1

        @toms

        The module does this with no other module running? If so, something in the module itself (or css) is constraining the height. The module should occupy the space it needs to display all the content. If other modules are running then they could be affecting your module.

        Create a working config
        How to add modules

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

          No the module is running fine, I just found out that (probably) the amount of JSON data was the problem.
          I added a “slice” to the data and all is working as expected.

          Nice !! :smiling_face_with_open_mouth:

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @Toms last edited by

            @toms
            I think that is not the problem of region height. I guess the height of module might be fixed. (or max-height might be set) Which module do you use? See the module’s css.

            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