remove scroll bar in running status

This commit is contained in:
geekgeekrun
2024-02-22 10:20:08 +08:00
parent 84b6ba79a3
commit c4453ba605
2 changed files with 24 additions and 10 deletions
@@ -1,5 +1,6 @@
<template> <template>
<div class="geek-auto-start-chat-with-boss__running-status"> <div class="geek-auto-start-chat-with-boss__running-status">
<div class="tip">
<article> <article>
<h1>👋 BOSS炸弹正在运行</h1> <h1>👋 BOSS炸弹正在运行</h1>
<p>💬 正在为你开聊BOSS请静候佳音</p> <p>💬 正在为你开聊BOSS请静候佳音</p>
@@ -7,7 +8,8 @@
<p>🍀 祝你求职顺利</p> <p>🍀 祝你求职顺利</p>
</article> </article>
<el-button :disabled="isStopping" @click="handleStopButtonClick">停止开聊</el-button> <el-button :disabled="isStopping" @click="handleStopButtonClick">停止开聊</el-button>
<FlyingCompanyLogoList /> </div>
<FlyingCompanyLogoList class="flying-company-logo-list" />
</div> </div>
</template> </template>
@@ -42,7 +44,12 @@ onUnmounted(() => {
<style scoped lang="scss"> <style scoped lang="scss">
.geek-auto-start-chat-with-boss__running-status { .geek-auto-start-chat-with-boss__running-status {
max-width: 100%;
max-height: 100%;
overflow: hidden;
.tip {
margin: 0 auto; margin: 0 auto;
max-width: 640px; max-width: 640px;
}
} }
</style> </style>
@@ -1,7 +1,14 @@
html, body { html, body {
--monospace-font-family: Monaco, Consolas, Menlo, monospace; --monospace-font-family: Monaco, Consolas, Menlo, monospace;
font-family: var(--monospace-font-family); font-family: var(--monospace-font-family);
position: relative;
width: 100%;
height: 100%;
} }
button, input, textarea { button, input, textarea {
font-family: inherit; font-family: inherit;
} }
#app {
position: absolute;
inset: 0;
}