diff --git a/src/App.vue b/src/App.vue index 37d407b72..5d5908275 100644 --- a/src/App.vue +++ b/src/App.vue @@ -101,6 +101,7 @@ {{ format(timeNow, 'E LLL do HH:mm') }} +
@@ -155,6 +156,7 @@ import { } from '@/libs/joystick/protocols/cockpit-actions' import { useMissionStore } from '@/stores/mission' +import AltitudeSlider from './components/AltitudeSlider.vue' import Dialog from './components/Dialog.vue' import EditMenu from './components/EditMenu.vue' import MiniWidgetContainer from './components/MiniWidgetContainer.vue' diff --git a/src/components/AltitudeSlider.vue b/src/components/AltitudeSlider.vue index 4c73e694a..4b8892f7b 100644 --- a/src/components/AltitudeSlider.vue +++ b/src/components/AltitudeSlider.vue @@ -30,7 +30,15 @@ const formattedValue = computed(() => altitude_setpoint.value.toFixed(1)) font-size: 0.8rem; } .slider-div { - height: 100%; - width: 100%; + position: fixed; + right: 2%; + top: 25%; + bottom: 0; + width: 25px; + height: 50%; + display: flex; + flex-direction: column; + justify-content: center; + z-index: 100; } diff --git a/src/views/WidgetsView.vue b/src/views/WidgetsView.vue index f97f75249..807bfdc47 100644 --- a/src/views/WidgetsView.vue +++ b/src/views/WidgetsView.vue @@ -1,9 +1,6 @@