classic view spacing

This commit is contained in:
Freeplay 2023-05-14 19:19:00 -04:00
parent 26e9d6fc6f
commit 0c1aa3b59e
2 changed files with 5 additions and 4 deletions

View file

@ -9,6 +9,7 @@
<script lang="ts" setup>
import { inject, onMounted, onUnmounted, ref } from "vue";
import { deviceKind } from "@/scripts/device-kind";
import { ui } from "@/config";
const props = withDefaults(
defineProps<{
@ -34,6 +35,10 @@ const adjust = (rect: { width: number; height: number }) => {
margin = props.marginMin;
return;
}
if ( ui === "classic" ) {
margin = 12;
return;
}
if (
rect.width > (props.contentMax ?? 0) ||

View file

@ -210,10 +210,6 @@ provideMetadataReceiver((info) => {
}
});
if (ui === "classic") {
provide("shouldSpacerMin", true);
}
const menuIndicated = computed(() => {
for (const def in navbarItemDef) {
if (def === "notifications") continue; //