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.
    • 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
              • 2 / 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