Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add letter indicating day of the week #40

Open
pete-may opened this issue Jul 28, 2024 · 1 comment
Open

Add letter indicating day of the week #40

pete-may opened this issue Jul 28, 2024 · 1 comment

Comments

@pete-may
Copy link

Wondering if we could have the option of including a letter in the header of that tracker table that indicated day of the week.

Something like

T 23 W 24 T 25 F 26 S 27 S 28

This is so when I miss updating after a few days it's easier to backfill.

@jeanys
Copy link

jeanys commented Feb 17, 2025

I solved this with some css snippet:

.habit-tracker__cell[data-date]::before {
  font-size: 10px;
  display: block;
}
.habit-tracker__cell--monday[data-date]::before {
  content: "Mon ";
}
.habit-tracker__cell--tuesday[data-date]::before {
  content: "Tue ";
}
.habit-tracker__cell--wednesday[data-date]::before {
  content: "Wed ";
}
.habit-tracker__cell--thursday[data-date]::before {
  content: "Thu ";
}
.habit-tracker__cell--friday[data-date]::before {
  content: "Fri ";
}
.habit-tracker__cell--saturday[data-date]::before {
  content: "Sat ";
}
.habit-tracker__cell--sunday[data-date]::before {
  content: "Sun ";
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants