fix some bugs
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div class="mt-10 p-5">
|
||||
<div class="mt-10 p-5 home-mobile-root">
|
||||
<div class="app-header-scroll-sentinel" aria-hidden="true" />
|
||||
<component :is="layoutComponent" :layout-config="layoutConfig" />
|
||||
<AppHeader @logout="$emit('logout')" />
|
||||
</div>
|
||||
@@ -21,3 +22,15 @@ defineEmits<{
|
||||
const layoutComponent = computed(() => resolveHomeLayoutComponent())
|
||||
const layoutConfig = computed(() => getHomeLayoutConfig(getHomeLayoutId()))
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.home-mobile-root {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.app-header-scroll-sentinel {
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user