Skip to content

Commit

Permalink
Merge pull request #1170 from nextcloud/fix/noid/drop-completed
Browse files Browse the repository at this point in the history
Better indicate dropping on empty completed list
  • Loading branch information
raimund-schluessler authored Aug 3, 2020
2 parents f348a35 + 7a6fa2b commit 4683c3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion css/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ $blue_due: #4271a6; // due dates and low importance
z-index: 10;
}

&.completed {
margin-top: 12px;
}

// Show round corners for first root task
> .task-item {
&:first-child > .task-body {
Expand Down Expand Up @@ -776,14 +780,15 @@ $blue_due: #4271a6; // due dates and low importance
.heading {
display: flex;
align-items: center;
margin-bottom: 10px;
margin-top: 20px !important;

@media only screen and (max-width: $breakpoint-mobile) {
padding-left: 15px;
}

&--hiddentasks {
margin-bottom: 0;

.heading__title {
display: inline-block;
padding-right: 16px;
Expand Down
1 change: 1 addition & 0 deletions src/components/TheCollections/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:tasks="completedRootTasks(calendar.tasks)"
:calendar-id="calendarId"
:disabled="calendar.readOnly"
class="completed"
collection-id="completed" />
<LoadCompletedButton :calendar="calendar" />
<DeleteCompletedModal v-if="calendar.loadedCompleted && !calendar.readOnly" :calendar="calendar" />
Expand Down

0 comments on commit 4683c3b

Please sign in to comment.