Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
fix: Don't wrap task's label
Browse files Browse the repository at this point in the history
  • Loading branch information
marienfressinaud committed Jun 5, 2017
1 parent 2ed7736 commit 696c008
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions client/src/components/Container.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export default {
.container.row.center {
align-items: center;
}
.container.row.baseline {
align-items: baseline;
}
.container.row > * {
flex-shrink: 0;
}
Expand Down
6 changes: 5 additions & 1 deletion client/src/components/tasks/TaskItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:onCancel="stopEditMode"
></edit-task>
<list-item v-else :class="['task-item', { finished: task.isFinished }]">
<container row align="center">
<container row align="baseline">
<span class="my-handle">::</span>

<a v-if="!notoggle" href="#" @click.prevent="toggleFinishTask" class="toggle">
Expand Down Expand Up @@ -110,6 +110,10 @@
padding: 5px;
}
.label {
white-space: normal;
}
&:nth-child(even) {
background-color: #f4f4f4;
}
Expand Down

0 comments on commit 696c008

Please sign in to comment.