From b827667a720e9d8d98c72cd925df926e977a9d46 Mon Sep 17 00:00:00 2001 From: advplyr Date: Thu, 4 Nov 2021 17:35:59 -0500 Subject: [PATCH] Change: UI to display correctly on mobile #162 --- client/assets/app.css | 5 ++ client/components/AudioPlayer.vue | 8 ++-- client/components/app/Appbar.vue | 18 +++---- client/components/app/BookShelf.vue | 11 ++++- .../components/app/BookShelfCategorized.vue | 2 +- client/components/app/BookShelfRow.vue | 16 +++++-- client/components/app/BookShelfToolbar.vue | 37 +++++++++++--- client/components/app/ConfigSideNav.vue | 37 ++++++++++++-- client/components/app/SideRail.vue | 3 -- client/components/app/StreamContainer.vue | 15 +++--- client/components/cards/BookCard.vue | 3 +- client/components/cards/GroupCover.vue | 18 ++++--- client/components/modals/EditModal.vue | 2 +- .../components/modals/edit-tabs/Details.vue | 2 +- client/components/modals/edit-tabs/Tracks.vue | 2 +- client/components/tables/OtherFilesTable.vue | 8 ++-- client/components/tables/TracksTable.vue | 10 ++-- client/components/tables/UsersTable.vue | 12 ++--- client/package.json | 2 +- client/pages/account.vue | 5 +- client/pages/audiobook/_id/index.vue | 37 +++++++++----- client/pages/config.vue | 48 +++++++++++++++++-- client/pages/config/index.vue | 4 +- client/pages/config/users/_id.vue | 16 +++---- client/pages/index.vue | 6 +-- .../pages/library/_library/bookshelf/_id.vue | 2 +- client/pages/library/_library/index.vue | 2 +- client/pages/upload/index.vue | 6 +-- package.json | 2 +- server/Db.js | 2 +- 30 files changed, 239 insertions(+), 102 deletions(-) diff --git a/client/assets/app.css b/client/assets/app.css index 7c7634f1..0a572ff8 100644 --- a/client/assets/app.css +++ b/client/assets/app.css @@ -14,6 +14,11 @@ #bookshelf { height: calc(100% - 40px); } +@media (max-width: 768px) { + #bookshelf { + height: calc(100% - 80px); + } +} /* width */ ::-webkit-scrollbar { diff --git a/client/components/AudioPlayer.vue b/client/components/AudioPlayer.vue index a223d14c..78b3978f 100644 --- a/client/components/AudioPlayer.vue +++ b/client/components/AudioPlayer.vue @@ -8,21 +8,21 @@

{{ timeRemainingPretty }}

-
+ -
+ -
+ -
+