Skip to content

Commit

Permalink
ui improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHolley committed Jan 17, 2025
1 parent 16568c8 commit a28cc21
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/Habit/ActivityBubble.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

<style>
.active {
@apply bg-primary;
@apply bg-base-content;
}
</style>
2 changes: 1 addition & 1 deletion src/lib/components/Habit/HabitOverviewItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="flex flex-col gap-1 rounded-lg bg-base-200 p-4">
<div class="flex flex-row justify-between">
<a href="/{habit.id}">
<span class="link-hover link text-lg decoration-secondary">{habit.title}</span></a
<span class="link-hover link text-lg text-primary">{habit.title}</span></a
>
<form method="POST" action="{habit.id}?/addToday" use:enhance>
<button
Expand Down
7 changes: 6 additions & 1 deletion src/routes/(app)/[id]/(habit-subpages)/edit/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
<div class="label">
<span class="label-text">Description (optional)</span>
</div>
<input name="description" class="input input-bordered" value={data.habit.description} />
<input
name="description"
class="input input-bordered"
maxlength="255"
value={data.habit.description}
/>
</label>
<button class="btn btn-primary w-fit">Update</button>
</form>
Expand Down

0 comments on commit a28cc21

Please sign in to comment.