Skip to content

Commit

Permalink
Adding a small amount of styling for moods
Browse files Browse the repository at this point in the history
  • Loading branch information
ostyn committed Jun 26, 2020
1 parent 7934c65 commit 349f1bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/tracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h3 class="cursor" click.trigger="showEditor = !showEditor">Entry Editor</h3>

<h3 class="cursor" click.trigger="showMoods = !showMoods">Mood Editor</h3>
<div if.bind="showMoods">
<span click.trigger="setCurrentMood(mood)" repeat.for="mood of moods">${mood.emoji}</span>
<span click.trigger="setCurrentMood(mood)" repeat.for="mood of moods" class="mood">${mood.emoji}</span>
<mood-edit mood.two-way="mood"></mood-edit>
</div>

Expand Down
4 changes: 4 additions & 0 deletions src/tracker/tracker.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
opacity: .6;
cursor: pointer;
}
.mood {
font-size: 32px;
cursor: pointer;
}
.activityEmoji {
font-size: 32px;
text-align: center;
Expand Down

0 comments on commit 349f1bd

Please sign in to comment.