Skip to content

Commit

Permalink
reset pre styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihendry committed Mar 11, 2024
1 parent fe5c46b commit 64b2f76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type day struct {
func days(month time.Time) (days []day) {
firstDay := time.Date(month.Year(), month.Month(), 1, 0, 0, 0, 0, time.UTC)
monthEnd := firstDay.AddDate(0, 1, -1) // add a month, minus a day
slog.Info("last day", "monthEnd", monthEnd)
slog.Debug("last day", "monthEnd", monthEnd)
for i := 0; i < monthEnd.Day(); i++ {
days = append(days, day{Date: firstDay.AddDate(0, 0, i)})
}
Expand Down
3 changes: 3 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
white-space: pre-wrap;
word-break: break-all;
font-family: inherit;
line-height: normal; /* Reset line-height */
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
}

a {
Expand Down

0 comments on commit 64b2f76

Please sign in to comment.