Skip to content

Commit

Permalink
add class no NoTasksDisplay
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiebrynes7 committed Feb 8, 2024
1 parent fc2bf0b commit 691e3c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added "Add item" button to rendered queries. This will open the task creation modal.
- Added the ability to control which elements of the task metadata render with tasks inside the query with the `show` keyword.
- You can now sort by when the task was added to Todoist using `dateAdded` and `dateAddedAscending` sort options.
- The div rendered when there are no tasks returned by a query now has a `todoist-no-tasks` class to allow you to customize the CSS.

### 🔁 Changes

Expand Down
2 changes: 1 addition & 1 deletion src/ui/NoTaskDisplay.svelte
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="todoist-success">
<div class="todoist-success todoist-no-tasks">
<p>Nothing to-do! Sit back and relax.</p>
</div>

0 comments on commit 691e3c0

Please sign in to comment.