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.

    MMM-Scrapey - I made something that could be useful?

    Scheduled Pinned Locked Moved Development
    14 Posts 5 Posters 3.2k Views 5 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.
    • F Offline
      fredric.nil
      last edited by

      Thanks for the tip, but that’s where I was looking.
      It seems that no matter what I put in for attributes, they don’t show up in the module.
      I’m going crazy soon

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @fredric.nil
        last edited by

        @fredric.nil where are you putting them?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @fredric.nil
          last edited by sdetweil

          @fredric.nil

          well there is a problem

          .MMM-Scrapey .td {
          

          the stuff before the {
          is called the selector clause, it ‘selects’ the elements the styles after the { apply to

          if the thing in the selector clause starts with a dot(.)
          that means classname, class=
          if it starts with a pound sign(#)
          that means id, id=
          otherwise no prefix means an html element name

          table, tr, td, div, …

          you have .td

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • F Offline
            fredric.nil
            last edited by

            I put it in the custom.css.
            It doesn’t seem to matter if I enter

            .td , #td , td or .MMM-Scrapey .td , .MMM-Scrapey3 #td or .MMM-Scrapey td or even .td , #td or td before {
            

            I can only say that this is not my cup of tea.

            1 Reply Last reply Reply Quote 0
            • A Offline
              AndyHazz Project Sponsor
              last edited by

              @fredric.nil yes as @sdetweil says it needed to be .MMM-Scrapey td {} to have any effect.

              Try this in your custom CSS, I think it’s the line height you want to adjust, not the padding:

              .MMM-Scrapey td {
                  line-height: 1;
              }
              

              MagicMirror default line height on the body element is 1.5 so I think everything inherits that unless overidden.

              1 Reply Last reply Reply Quote 1
              • F Offline
                fredric.nil
                last edited by

                @AndyHazz said in MMM-Scrapey - I made something that could be useful?:

                .MMM-Scrapey td {
                line-height: 1;
                }
                Just that, perfect
                Thank you.

                1 Reply Last reply Reply Quote 0
                • S sdetweil referenced this topic on
                • 1
                • 2
                • 1 / 2
                • 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