From 279cc03193651d7e54fd1147ec480e8f56abca4b Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Wed, 28 Oct 2020 17:29:23 +0000 Subject: [PATCH] Fixed tab bar scrolling --- .../api/static/src/components/appContent.vue | 223 ++++++++++-------- 1 file changed, 125 insertions(+), 98 deletions(-) diff --git a/openflexure_microscope/api/static/src/components/appContent.vue b/openflexure_microscope/api/static/src/components/appContent.vue index 3fa5e57f..5a12b5ad 100644 --- a/openflexure_microscope/api/static/src/components/appContent.vue +++ b/openflexure_microscope/api/static/src/components/appContent.vue @@ -11,100 +11,112 @@ @onClose="enterApp()" > -
- +
- visibility - - - - photo_library - - -
- - - gamepad - - - camera_alt - - - -
+ + photo_library + - - {{ plugin.icon || "extension" }} - +
- - settings - + + gamepad + + + camera_alt + - - info - + + +
+ + + {{ plugin.icon || "extension" }} + + + + settings + + + + assignment_late + + + + info + +
@@ -159,6 +171,22 @@ + + + + + + + + - - - - @@ -202,6 +222,7 @@ import settingsContent from "./tabContentComponents/settingsContent.vue"; import galleryContent from "./tabContentComponents/galleryContent.vue"; import extensionContent from "./tabContentComponents/extensionContent.vue"; import aboutContent from "./tabContentComponents/aboutContent.vue"; +import loggingContent from "./tabContentComponents/loggingContent.vue"; // Import modal components for device initialisation import calibrationModal from "./modalComponents/calibrationModal.vue"; @@ -221,7 +242,8 @@ export default { galleryContent, extensionContent, calibrationModal, - aboutContent + aboutContent, + loggingContent }, data: function() { @@ -359,15 +381,20 @@ export default { border-width: 0 1px 0 0; border-style: solid; border-color: rgba(180, 180, 180, 0.25); + width: 75px; + background-color: rgba(180, 180, 180, 0.1); + padding-top: 2px !important; +} + +#switcher-left-container { + margin: 0; + padding: 0; + overflow-x: hidden; + overflow-y: auto; + height: 100%; } #switcher-left a { padding: 10px 8px; } - -#switcher-left { - width: 75px; - background-color: rgba(180, 180, 180, 0.1); - padding-top: 2px !important; -}