Skip to content

Commit 2f2440f

Browse files
Merge pull request #1203 from Giskard-AI/feature/gsk-1250-ui-sidebar-disappears-on-narrow-layout
Fixed left navigation drawer disappearing on small screens
2 parents 125a246 + 12d9981 commit 2f2440f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

frontend/src/views/main/Main.vue

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<template>
22
<v-main class="fill-height vertical-container">
3-
<v-navigation-drawer fixed app persistent class="background" mobile-breakpoint="sm" width="75" color="primaryLight">
3+
<v-navigation-drawer fixed app permanent class='background' width='75' color='primaryLight'>
44
<v-layout column fill-height>
5-
<v-list subheader class="align-center" @click="resetStates">
6-
<v-list-item to="/" @click.stop="() => {
5+
<v-list subheader class='align-center' @click='resetStates'>
6+
<v-list-item to='/' @click.stop='() => {
77
projectStore.setCurrentProjectId(null);
8-
}">
8+
}'>
99
<v-list-item-content>
10-
<div class="align-center text-center">
11-
<img src="@/assets/logo_v2.png" alt="Giskard icon" width="45px" />
12-
<span class="caption">Projects</span>
10+
<div class='align-center text-center'>
11+
<img src='@/assets/logo_v2.png' alt='Giskard icon' width='45px' />
12+
<span class='caption'>Projects</span>
1313
</div>
1414
</v-list-item-content>
1515
</v-list-item>
@@ -125,15 +125,15 @@
125125
</template>
126126

127127
<script lang="ts" setup>
128-
import { useUserStore } from "@/stores/user";
129-
import { useMainStore } from "@/stores/main";
130-
import { useProjectStore } from "@/stores/project";
131-
import { useDebuggingSessionsStore } from "@/stores/debugging-sessions";
132-
import { useTestSuitesStore } from "@/stores/test-suites";
133-
import { computed, onMounted, onUnmounted, ref, watch } from "vue";
128+
import { useUserStore } from '@/stores/user';
129+
import { useMainStore } from '@/stores/main';
130+
import { useProjectStore } from '@/stores/project';
131+
import { useDebuggingSessionsStore } from '@/stores/debugging-sessions';
132+
import { useTestSuitesStore } from '@/stores/test-suites';
133+
import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
134134
import { useRoute } from 'vue-router/composables';
135-
import moment from "moment/moment";
136-
import { state, client } from "@/socket";
135+
import moment from 'moment/moment';
136+
import { state, client } from '@/socket';
137137
138138
const route = useRoute();
139139
const mainStore = useMainStore();

0 commit comments

Comments
 (0)