fix: hide collapsed bar when expanded, fix bottom offset
This commit is contained in:
@@ -148,7 +148,7 @@ onMounted(() => {
|
||||
</div>
|
||||
</Transition>
|
||||
|
||||
<div class="ai-collapsed-bar" @click="store.aiCollapsed = false">
|
||||
<div v-if="store.aiCollapsed" class="ai-collapsed-bar" @click="store.aiCollapsed = false">
|
||||
<span class="ai-bar-icon">🤖</span>
|
||||
<span class="ai-bar-title">AI 助手</span>
|
||||
<span class="ai-bar-divider">·</span>
|
||||
@@ -192,7 +192,7 @@ onMounted(() => {
|
||||
|
||||
.ai-expanded {
|
||||
position: absolute;
|
||||
bottom: 32px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
max-height: 40vh;
|
||||
|
||||
Reference in New Issue
Block a user