Skip to content

Commit

Permalink
feat(scheduled): improve styling
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesjo committed Sep 29, 2019
1 parent 8edc839 commit 4c03dff
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/app/pages/schedule-page/schedule-page.component.scss
Expand Up @@ -3,7 +3,7 @@

.scheduled-task {
margin-bottom: $s;
padding: $s $s*2;
padding: $s/2 $s*2;
@include dividerBorderColor(1px);
box-shadow: none;
}
Expand Down Expand Up @@ -46,6 +46,8 @@

.title {
flex: 1;
// to account for the task titles inner padding
margin-top: -8px;
@include mq(xs) {
.scheduled-task:hover & {
}
Expand Down Expand Up @@ -78,11 +80,17 @@

.project {
margin-top: $s/2;
// to align with task title
margin-left: $s;
font-size: 11px;
display: flex;
align-items: center;
}

.project-title {
line-height: 1;
}

.project-color {
border-radius: 50%;
height: $s;
Expand Down

0 comments on commit 4c03dff

Please sign in to comment.