feat: improve serial console

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee
2026-08-03 18:31:43 +08:00
parent 423a721cb8
commit bc4f70e889
3 changed files with 191 additions and 69 deletions
@@ -38,16 +38,32 @@ export default {
</script>
<template>
<Loading v-if="$fetchState.pending" />
<SerialConsole
v-else
ref="serialConsole"
v-model:value="vmi"
/>
<div class="serial-console-page">
<Loading v-if="$fetchState.pending" />
<SerialConsole
v-else
ref="serialConsole"
v-model:value="vmi"
/>
</div>
</template>
<style lang="scss" scoped>
body, #__nuxt, #__layout, main {
<style lang="scss">
html,
body,
#__nuxt,
#__layout,
main {
height: 100%;
}
.serial-console-page {
position: fixed;
inset: 0;
min-height: 0;
.harvester-shell-container {
height: 100%;
}
}
</style>