Skip to content

Commit

Permalink
1.4.4 - i published the prev version with the wrong css; i'm also pus…
Browse files Browse the repository at this point in the history
…hing a small css tweak so that the cells don't get wider in a streak
  • Loading branch information
zoreet committed Jul 27, 2024
1 parent 41c8f76 commit 88be473
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -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
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
1 change: 0 additions & 1 deletion src/HabitTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 4 additions & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -138,4 +141,4 @@
text-align: center;
content: attr(streak);
line-height: 15px;
}
}
5 changes: 3 additions & 2 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
"1.4.3": "1.1.0",
"1.4.4": "1.1.0"
}

0 comments on commit 88be473

Please sign in to comment.