MagicMirror Forum

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

    UNSOLVED Word wrap Module?

    Troubleshooting
    2
    2
    441
    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.
    • ooom416354
      ooom416354 last edited by

      Hi, i have a quesiton. I have a module which is in the bottom_left and for some reason, the text doesn’t word wrap. I am just wondering if there’s a way to do this with the custom.css file or if I have to add something to my module itself. I basically just want to wrap it similar to as wide as the calendar module is.

      Thanks in advance.default

      broberg 1 Reply Last reply Reply Quote 0
      • broberg
        broberg Project Sponsor @ooom416354 last edited by broberg

        @ooom416354

        Hi, yes it’s possible but you would have to define the size for the module for it to contain the text.
        (Otherwise it just fills the available space in the bottom_left region)

        so in the custom.css add something like this :

        
        .MMM_modulename {
        width : 400px;
        }
        
        
        

        Replace the “MMM_modulename” with the name of the module and adjust the width accordingly.

        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