Skip to content

Commit

Permalink
Hide elm on sm
Browse files Browse the repository at this point in the history
  • Loading branch information
webdevnerdstuff committed Nov 13, 2023
1 parent a06a769 commit 4aa465f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/documentation/layout/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
>
<v-icon icon="mdi:mdi-menu"></v-icon>
</v-app-bar-nav-icon>

<v-app-bar-nav-icon
v-else
class="nav-drawer-btn me-2 ms-3"
Expand Down Expand Up @@ -64,6 +65,7 @@
</v-select>

<v-chip
v-if="isSmAndUp"
class="me-2 d-flex justify-center"
:class="`badge-${selectedLibrary.id}`"
:href="selectedLibrary.id === 'prismjs'
Expand Down Expand Up @@ -122,7 +124,7 @@
import { onMounted, ref } from 'vue';
import { useCoreStore } from '@/stores/index';
import { useMenuStore } from '@/stores/menu';
import { useTheme } from 'vuetify';
import { useDisplay, useTheme } from 'vuetify';
const emit = defineEmits(['changedTheme', 'updatedDrawer']);
Expand All @@ -147,11 +149,13 @@ onMounted(() => {
const menuStore = useMenuStore();
const store = useCoreStore();
const theme = useTheme();
const { smAndUp } = useDisplay();
const links = store.links;
const themeName = ref('dark');
const drawer = ref(true);
const isSmAndUp = computed(() => smAndUp.value);
const menuItems = [...menuStore.libraryItems];
Expand Down

0 comments on commit 4aa465f

Please sign in to comment.