From 88be4738255d0e3d4fdaa0cd6821b24808f54f56 Mon Sep 17 00:00:00 2001 From: zoreet Date: Sat, 27 Jul 2024 22:16:10 +0200 Subject: [PATCH] 1.4.4 - i published the prev version with the wrong css; i'm also pushing a small css tweak so that the cells don't get wider in a streak --- manifest.json | 4 ++-- package.json | 2 +- src/HabitTracker.ts | 1 - src/styles.css | 5 ++++- versions.json | 5 +++-- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index 11ad4f3..b6272b0 100644 --- a/manifest.json +++ b/manifest.json @@ -1,10 +1,10 @@ { "id": "habit-tracker-21", "name": "Habit Tracker 21", - "version": "1.4.3", + "version": "1.4.4", "minAppVersion": "1.1.0", "description": "Your 21-day journey to habit formation, simplified", "author": "Zoreet", "authorUrl": "https://github.com/zoreet", "isDesktopOnly": false -} \ No newline at end of file +} diff --git a/package.json b/package.json index 858c34c..1ea223d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-sample-plugin", - "version": "1.4.2", + "version": "1.4.4", "description": "This is a sample plugin for Obsidian (https://obsidian.md)", "main": "main.js", "scripts": { diff --git a/src/HabitTracker.ts b/src/HabitTracker.ts index 2f5b1d3..51a21d7 100644 --- a/src/HabitTracker.ts +++ b/src/HabitTracker.ts @@ -268,7 +268,6 @@ export default class HabitTracker { const entriesSet = new Set(entries) - // console.log('entries', entries); for (let i = 0; i < this.settings.daysToLoad; i++) { const dateString = this.getDateId(currentDate) const isTicked = entriesSet.has(dateString) diff --git a/src/styles.css b/src/styles.css index 600759a..d23e002 100644 --- a/src/styles.css +++ b/src/styles.css @@ -82,6 +82,9 @@ .habit-tick { line-height: 0; text-align: center; + width: 25px; + min-width: 25px; + max-width: 25px; } .habit-tick:hover { cursor: pointer; @@ -138,4 +141,4 @@ text-align: center; content: attr(streak); line-height: 15px; -} \ No newline at end of file +} diff --git a/versions.json b/versions.json index b62e739..d4fe0c1 100644 --- a/versions.json +++ b/versions.json @@ -15,5 +15,6 @@ "1.4.0": "1.1.0", "1.4.1": "1.1.0", "1.4.2": "1.1.0", - "1.4.3": "1.1.0" -} \ No newline at end of file + "1.4.3": "1.1.0", + "1.4.4": "1.1.0" +}