From 9781949064ec81cdc546144fd888ad7dc8cfe777 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Sun, 9 Feb 2020 22:06:57 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D1=85=D0=BE=D0=B4=20?= =?UTF-8?q?=D0=BD=D0=B0=20quasar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Reader/SettingsPage/SettingsPage.vue | 25 ++-- .../SettingsPage/include/ProfilesTab.inc | 136 ++++++++---------- client/quasar.js | 3 +- 3 files changed, 75 insertions(+), 89 deletions(-) diff --git a/client/components/Reader/SettingsPage/SettingsPage.vue b/client/components/Reader/SettingsPage/SettingsPage.vue index cb2c9d3d..e00554e3 100644 --- a/client/components/Reader/SettingsPage/SettingsPage.vue +++ b/client/components/Reader/SettingsPage/SettingsPage.vue @@ -185,9 +185,15 @@ selectedTabOld = null;//todo: remove return this.$store.state.reader.profiles; } - get profilesArray() { - const result = Object.keys(this.profiles) - result.sort(); + + get currentProfileOptions() { + const profNames = Object.keys(this.profiles) + profNames.sort(); + + let result = [{label: 'Нет', value: ''}]; + profNames.forEach(name => { + result.push({label: name, value: name}); + }); return result; } @@ -437,13 +443,14 @@ selectedTabOld = null;//todo: remove overflow-x: hidden; overflow-y: auto; font-size: 90%; - padding: 15px 10px 15px 10px; + padding: 0 10px 15px 10px; } .part-header { border-top: 2px solid #bbbbbb; font-weight: bold; font-size: 110%; + margin-top: 15px; margin-bottom: 5px; } @@ -465,15 +472,15 @@ selectedTabOld = null;//todo: remove font-size: 90%; line-height: 130%; } + +.button { + margin-right: 15px; + padding: 0 5px 0 5px; +}