From ab5049127ab19779d501b3c0e2958dc7743bf351 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Sun, 2 Feb 2020 15:03:50 +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 --- client/components/App.vue | 5 ++++- client/components/Reader/Reader.vue | 32 ++++++++++------------------- 2 files changed, 15 insertions(+), 22 deletions(-) diff --git a/client/components/App.vue b/client/components/App.vue index a6e0c4c0..46005728 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -231,10 +231,13 @@ class App extends Vue { body, html, #app { margin: 0; padding: 0; - height: 100%; font: normal 12pt ReaderDefault; } +.border { + border: 1px solid black; +} + @font-face { font-family: 'ReaderDefault'; src: url('fonts/reader-default.woff') format('woff'), diff --git a/client/components/Reader/Reader.vue b/client/components/Reader/Reader.vue index 6b1a6cd2..2f61474d 100644 --- a/client/components/Reader/Reader.vue +++ b/client/components/Reader/Reader.vue @@ -1,7 +1,7 @@ @@ -330,8 +330,8 @@ class Reader extends Vue { updateHeaderMinWidth() { const showButtonCount = Object.values(this.showToolButton).reduce((a, b) => a + (b ? 1 : 0), 0); - if (this.$refs.header) - this.$refs.header.style.minWidth = 65*showButtonCount + 'px'; + if (this.$refs.buttons) + this.$refs.buttons.style.minWidth = 65*showButtonCount + 'px'; } checkSetStorageAccessKey() { @@ -1143,27 +1143,17 @@ class Reader extends Vue {