MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Patex
    3. Topics
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 15
    • Groups 0

    Topics

    • PatexP

      Resizing container div

      Watching Ignoring Scheduled Pinned Locked Moved Development
      1
      0 Votes
      1 Posts
      2k Views
      PatexP
      I am creating a picture frame module which changes between different layouts (displaying one, two or four pictures at a time). To get the correct size of the pictures I am using the object-fit property which relies on the container to have a set width. The “region fullscreen above” has the correct width and height set but the div ‘containers’ expand depending on the content. Once the container div has the correct size the dimensions can be propagated down with easy css. Since there is no parent selector in css how can I access and set the dimensions correctly. [image: e9om6ymb.png] I am aware that I can do this using javascript. I just want to know if there is a possibility using traditional css.
    • PatexP

      Interchange multiple modules at runtime

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      2k Views
      PatexP
      Thank you very much. Way easier than expected :)
    • 1 / 1