jekyll-lablog icon indicating copy to clipboard operation
jekyll-lablog copied to clipboard

Show completed tasks?

Open indieai opened this issue 9 years ago • 1 comments

In your documentation you said you could toggle on showing completed tasks. I'm a complete newbie to Jekyll, could you explain how to toggle this on or off? I like to see the progress and show tasks that have been completed already. Thanks.

indieai avatar Nov 29 '15 16:11 indieai

Sorry for not responding earlier. Indeed the feature has been removed from the current version. The tasks that are marked as completed - [x] will automatically be invisible and there is currently no switch to make them visible again. I will have to fix this in the next update.

For now, you can easily avoid this behaviour by setting the css style for completed tasks. to do this, edit file _scss/_base.scss in line 361 by removing the lines max-height: 0; and overflow: hidden; :

      &.box_done {
        font-style: normal;
        font-size: $base-font-size * 1.2;
        color: $grey-color;
        text-decoration: line-through;
        max-height: 0;
        overflow: hidden;

        &:before {
          font: normal normal normal $base-font-size lablogIcons;
          padding-top: 0.5em;
          content: "\f046";
          color: $grey-color;
        }
      }

Then, completed tasks will be visible and clearly labelled as being completed.

fdschneider avatar Dec 14 '15 07:12 fdschneider