From 919838549dab23654518b142afb188d7ce2a70c0 Mon Sep 17 00:00:00 2001 From: Paolo Arena Date: Fri, 15 Mar 2019 02:36:44 +0100 Subject: [PATCH] fix expiring date fix progress bar value --- src/components/todos/SingleTodo/SingleTodo.scss | 15 +++++++++++---- src/components/todos/SingleTodo/SingleTodo.vue | 7 ++++--- src/components/todos/todo/todo.ts | 6 +++--- src/root/home/home.scss | 2 +- src/store/Modules/Todos.ts | 2 +- src/views/login/signup/signup.vue | 2 ++ 6 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/components/todos/SingleTodo/SingleTodo.scss b/src/components/todos/SingleTodo/SingleTodo.scss index 22fc6aa..13e1612 100644 --- a/src/components/todos/SingleTodo/SingleTodo.scss +++ b/src/components/todos/SingleTodo/SingleTodo.scss @@ -219,6 +219,10 @@ $heightdescr: 20px; .data-item { max-width: 78px; + @media (max-width: 600px) { + max-width: 22px; + } + //min-width: 100px; //display: flex; //visibility: initial; @@ -231,15 +235,18 @@ $heightdescr: 20px; padding-left: 2px; padding-right: 0px; - @media (max-width: 600px) { - display: none; - } - //height: $heightBtn; //line-height: $heightBtn; } +.data_string { + @media (max-width: 600px) { + display: none; + } + +} + .data-item .q-input-target{ color:red !important; } diff --git a/src/components/todos/SingleTodo/SingleTodo.vue b/src/components/todos/SingleTodo/SingleTodo.vue index 23d2759..bab9441 100644 --- a/src/components/todos/SingleTodo/SingleTodo.vue +++ b/src/components/todos/SingleTodo/SingleTodo.vue @@ -36,7 +36,8 @@
@@ -55,8 +56,8 @@
- {{getstrDate(itemtodo.expiring_at)}} - + {{getstrDate(itemtodo.expiring_at)}} + diff --git a/src/components/todos/todo/todo.ts b/src/components/todos/todo/todo.ts index 3a87cd0..65541ba 100644 --- a/src/components/todos/todo/todo.ts +++ b/src/components/todos/todo/todo.ts @@ -340,9 +340,9 @@ export default class Todo extends Vue { .then((data) => { console.log('data', data) - if (data !== null) { - tools.showNotif(this.$q, data) - } + // if (data !== null) { + // tools.showNotif(this.$q, data) + // } // empty the field if (atfirst) { diff --git a/src/root/home/home.scss b/src/root/home/home.scss index 6b66fa6..9c4804b 100644 --- a/src/root/home/home.scss +++ b/src/root/home/home.scss @@ -73,7 +73,7 @@ p { } .landing__arrow { - bottom: 8px; + bottom: 25px; opacity: .4 } diff --git a/src/store/Modules/Todos.ts b/src/store/Modules/Todos.ts index 5eea7ae..fd37c59 100644 --- a/src/store/Modules/Todos.ts +++ b/src/store/Modules/Todos.ts @@ -695,7 +695,7 @@ namespace Actions { } // 3) send to the Server - await saveItemToSyncAndDb(tools.DB.TABLE_SYNC_TODOS, 'POST', objtodo) + return await saveItemToSyncAndDb(tools.DB.TABLE_SYNC_TODOS, 'POST', objtodo) .then((ris) => { // Check if need to be moved... const indelem = getIndexById(objtodo.category, objtodo._id) diff --git a/src/views/login/signup/signup.vue b/src/views/login/signup/signup.vue index 1a50324..7dafa8e 100644 --- a/src/views/login/signup/signup.vue +++ b/src/views/login/signup/signup.vue @@ -16,6 +16,7 @@ :error="$v.signup.email.$error" :error-message="errorMsg('email', $v.signup.email)" bottom-slots + debounce="1000" :label="$t('reg.email')">