Skip to content

Commit

Permalink
Add heading for current activity in mobile mode
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasson committed Oct 15, 2023
1 parent 84dc5b1 commit 666d5bc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/Quarter.Style/src/pages/_timesheet.sass
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
width: 20px
height: 20px

.q-activity-list--header
font-size: $font-size-kilo
font-weight: 600
margin-bottom: $pillow-small

.q-activity-list
display: none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<div class="q-list">
<div class="q-list-item @(_isActive ? "q-list-item--expanded" : "")" >
<div class="q-list-item__header" @onclick="@ToggleActive">
<div class="q-activity-list--header">Current activity:</div>
<div class="q-activity-marker">
@{
var selectedActivity = SelectedActivity();
Expand Down
5 changes: 5 additions & 0 deletions src/Quarter/wwwroot/quarter.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Quarter/wwwroot/quarter.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 666d5bc

Please sign in to comment.