From 64e3cae594f4bb1e50601141a06a16908f722239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 2 Jun 2021 10:03:58 +0200 Subject: [PATCH] Comply to new resizeable list feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- .eslintrc.js | 1 + css/contacts.scss | 7 +- .../AppContent/AppDetailsToggle.vue | 70 ------------ src/components/AppContent/CircleContent.vue | 101 +++++++++--------- src/components/AppContent/ContactsContent.vue | 96 ++++++++++------- src/components/ContactDetails.vue | 6 -- src/views/Contacts.vue | 25 +---- 7 files changed, 120 insertions(+), 186 deletions(-) delete mode 100644 src/components/AppContent/AppDetailsToggle.vue diff --git a/.eslintrc.js b/.eslintrc.js index a532df9ed..29134f1da 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,6 @@ module.exports = { globals: { + appName: true, appVersion: true, }, diff --git a/css/contacts.scss b/css/contacts.scss index 6d411addb..bf188f0b3 100644 --- a/css/contacts.scss +++ b/css/contacts.scss @@ -42,8 +42,13 @@ $list-width: 300px; // global design overrides -#app-content-wrapper { +.app-content-wrapper { display: flex; + + // center error messages + .empty-content { + margin: auto + } } .app-content-details { diff --git a/src/components/AppContent/AppDetailsToggle.vue b/src/components/AppContent/AppDetailsToggle.vue deleted file mode 100644 index f9c86b60d..000000000 --- a/src/components/AppContent/AppDetailsToggle.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - diff --git a/src/components/AppContent/CircleContent.vue b/src/components/AppContent/CircleContent.vue index d5e22f15c..00f203fff 100644 --- a/src/components/AppContent/CircleContent.vue +++ b/src/components/AppContent/CircleContent.vue @@ -21,55 +21,56 @@ --> diff --git a/src/components/ContactDetails.vue b/src/components/ContactDetails.vue index 65b8653fa..0d69438dd 100644 --- a/src/components/ContactDetails.vue +++ b/src/components/ContactDetails.vue @@ -768,12 +768,6 @@ export default {