diff --git a/frontend/src/components/activity/content/Checklist.vue b/frontend/src/components/activity/content/Checklist.vue index 7047c08f75..b0a5d54a16 100644 --- a/frontend/src/components/activity/content/Checklist.vue +++ b/frontend/src/components/activity/content/Checklist.vue @@ -5,6 +5,8 @@ v-model="showDialog" icon="mdi-clipboard-list-outline" :title="$tc('components.activity.content.checklist.title')" + :cancel-action="close" + :cancel-visible="false" > - + {{ parents.map(({ position }) => position + 1 + '.').join('') }}{{ item.position + 1 }}. {{ item.text }} @@ -257,6 +259,9 @@ export default { this.uncheckedItems = [] this.dirty = false }, + close() { + this.showDialog = false + }, }, } @@ -267,4 +272,8 @@ export default { overflow: hidden; text-overflow: ellipsis; } +.ec-checklist--item-title { + white-space: normal; + line-height: 1.33; +} diff --git a/frontend/src/components/checklist/SortableChecklist.vue b/frontend/src/components/checklist/SortableChecklist.vue index 5af2d61bef..939d48e139 100644 --- a/frontend/src/components/checklist/SortableChecklist.vue +++ b/frontend/src/components/checklist/SortableChecklist.vue @@ -180,11 +180,15 @@ export default { padding-bottom: 6px; display: grid; } +.e-checklist-dragarea--inner { + min-width: 0; +} .e-checklist-dragarea.dragging:deep(.e-checklist-dragarea) { background: rgba(0, 130, 236, 0.15); padding-bottom: 0; } .e-sortable-checklist-item__add { + min-width: 0; padding-top: 2px; padding-bottom: 2px; } diff --git a/frontend/src/components/dialog/DialogBottomSheet.vue b/frontend/src/components/dialog/DialogBottomSheet.vue index f021d8d7b1..b4c35eba40 100644 --- a/frontend/src/components/dialog/DialogBottomSheet.vue +++ b/frontend/src/components/dialog/DialogBottomSheet.vue @@ -138,4 +138,12 @@ export default { .error-area:empty { display: none; } +:deep(.ec-dialog-form.v-bottom-sheet.v-dialog) { + overflow-y: auto; +} +.ec-dialog-toolbar { + position: sticky; + z-index: 10; + top: 0; +}