From 10e0ae109c493bce5690150dfb4277922b5c2d67 Mon Sep 17 00:00:00 2001 From: Jamie Brynes Date: Thu, 8 Feb 2024 18:24:47 +0000 Subject: [PATCH] Add class to `NoTasksDisplay` (#282) --- CHANGELOG.md | 1 + src/ui/NoTaskDisplay.svelte | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 409bc6d..c4740f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/ui/NoTaskDisplay.svelte b/src/ui/NoTaskDisplay.svelte index b2e6857..a03da4b 100644 --- a/src/ui/NoTaskDisplay.svelte +++ b/src/ui/NoTaskDisplay.svelte @@ -1,3 +1,3 @@ -
+

Nothing to-do! Sit back and relax.