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.

    change height of region

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 3 Posters 1.5k Views 3 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.
    • T Offline
      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

      Mykle1M ? 2 Replies Last reply Reply Quote 0
      • Mykle1M Offline
        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 Offline
          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
          • ? Offline
            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 Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy