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-Todoist

    Scheduled Pinned Locked Moved Troubleshooting
    23 Posts 4 Posters 6.6k Views 4 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.
    • S Offline
      sdetweil @bdream
      last edited by

      @bdream said in MMM-Todoist:

      It’s tricky as I use MMM-Carousel and every time I click to expand it switch back.

      yes, sometimes you have to just use the one module to be able to explore effectively

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        bdream
        last edited by

        @sdetweil don’t know what exactly I’m looking for :face_with_monocle:
        b536ed9c-7d84-40db-97ea-1b5c81ac7257-grafik.png

        I assume 1 (marked in red 1) is exactly the space I want to get rid off.
        And ! seems to me related to 2 (marked in red 2) , what in english is [space]

        Could it be I have to do any in custom.css regarding the both lines with spacecells in it?
        b58ba976-881c-4d43-9b3d-1d4f460a1eab-grafik.png

        –
        cheers, bdream

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @bdream
          last edited by sdetweil

          @bdream remember the whole point of this exercise was to find the element and figure out how to hide it.
          but I don’t see a spacerCell class defined anywhere. you should move the left edge of the dev window further left, to get the class display vertical… (like in my previous images)

          u can define a spacerCell class in custom.css and then be able to edit it here, but maybe this would be enough

          .MMM-Todoist .spacerCell {
          display: none;
          }

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            bdream
            last edited by

            @sdetweil Thanks Sam! Idea was good but not the right point.
            I will work a bit on it and deep dive but first look shows there will nothing I can use to work with custom.css

            –
            cheers, bdream

            1 Reply Last reply Reply Quote 0
            • C Offline
              cbrooker
              last edited by cbrooker

              Hi All,

              I just saw this thread and think I can offer some assistance. I wrote and maintain the MMM-Todoist module.

              That space that you’re seeing is where the Todo Priority would be displayed if you set a priority.

              Like this (the red bar):
              9f14d8f5-5067-4de5-944a-9e44d60d449c-image.png

              If you have no need for that and want to remove the space the quickest “hack” you can do is:

              1. Open /modules/MMM-Todoist/MMM-Todoist.js
              2. Comment out these 2 lines:
              divRow.appendChild(this.addPriorityIndicatorCell(item));
              divRow.appendChild(this.addColumnSpacerCell());
              

              Line 592 and 593.

              1. Save and reload MagicMirror.
              2. Do a local commit (git commit -a)

              That will remove the space however, every time you update module you might have to deal with a merge conflict.

              More advanced:
              You could also fork the repo, clone the new repo into your modules folder make, the changes, commit, push. You could then pull the upstream changes when you wanted to update.

              1 Reply Last reply Reply Quote 0
              • C Offline
                cbrooker
                last edited by

                Alternatively, you can add this to the bottom of the MMM-Todoist.css custom CSS file.

                .divTableCell:first-of-type {
                    display: none;
                } 
                .divTableRow > div:nth-child(2) {
                    display: none;
                }
                
                StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                • StoffbeuteluweS Offline
                  Stoffbeuteluwe Project Sponsor @cbrooker
                  last edited by

                  @cbrooker Oh Perfect… thank you very much…:folded_hands_medium-dark_skin_tone:

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bdream
                    last edited by

                    @cbrooker said in MMM-Todoist:

                    .divTableCell:first-of-type {
                    display: none;
                    }
                    .divTableRow > div:nth-child(2) {
                    display: none;
                    }

                    That is the right hint :thumbs_up: you gave, I would never get it by my own.
                    Many thanks!
                    The Mirror is looking more and more nice with such small points :grinning_face:

                    –
                    cheers, bdream

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 3
                    • 1 / 3
                    • 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