From 6b82e12165a5214eee3394358a9921f6a3f1f856 Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 20 Nov 2023 16:28:43 +0100 Subject: [PATCH] Fix resizeble navigator --- app/assets/stylesheets/navigation/navigator.scss | 2 +- app/javascript/vue/navigation/navigator.vue | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/navigation/navigator.scss b/app/assets/stylesheets/navigation/navigator.scss index e6474e082..c8839d72a 100644 --- a/app/assets/stylesheets/navigation/navigator.scss +++ b/app/assets/stylesheets/navigation/navigator.scss @@ -3,8 +3,8 @@ display: block !important; height: 100%; opacity: 0; - right: -2px; top: 0; + width: 10px; } diff --git a/app/javascript/vue/navigation/navigator.vue b/app/javascript/vue/navigation/navigator.vue index 432f70548..9ca965c3d 100644 --- a/app/javascript/vue/navigation/navigator.vue +++ b/app/javascript/vue/navigation/navigator.vue @@ -3,6 +3,7 @@ :initW="getNavigatorWidth()" ref="vueResizable" :minW="208" + v-model:w="width" :disabledH="true" :handles="['mr']" :resizable="true" @@ -12,7 +13,7 @@ @resizing="onResizeMove" @resize-end="onResizeEnd" > -