36 lines
621 B
Vue
36 lines
621 B
Vue
<script setup lang="ts">
|
|
import LeftSidebar from './LeftSidebar.vue'
|
|
import RightConsole from './RightConsole.vue'
|
|
|
|
defineProps<{
|
|
version: string
|
|
serverTime: string
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div class="app-shell">
|
|
<LeftSidebar :version="version" />
|
|
<RightConsole :server-time="serverTime" />
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.app-shell {
|
|
display: grid;
|
|
grid-template-columns: 300px minmax(0, 1fr);
|
|
height: 100vh;
|
|
min-width: 1080px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (max-width: 1180px) {
|
|
.app-shell {
|
|
display: block;
|
|
min-width: 0;
|
|
height: auto;
|
|
overflow: visible;
|
|
}
|
|
}
|
|
</style>
|