Skip to content

Commit

Permalink
Fix: chatArea height
Browse files Browse the repository at this point in the history
  • Loading branch information
LazyCreeper committed Oct 31, 2023
1 parent 5abf1b6 commit 0aef308
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/Cinema.vue
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ const parseVideoType = (movie: MovieInfo) => {
// 设置聊天框高度
const resetChatAreaHeight = () => {
const h = playArea.value ? playArea : noPlayArea;
chatArea && h && (chatArea.value.style.height = h.value.scrollHeight - 63 + "px");
chatArea && h && (chatArea.value.style.height = h.value.scrollHeight - 49 + "px");
};
onMounted(() => {
Expand Down Expand Up @@ -690,7 +690,6 @@ const Player = defineAsyncComponent(() => import("@/components/Player.vue"));
<div class="card-body max-sm:pb-3 max-sm:px-3" ref="noPlayArea" v-else>
<img class="mx-auto" src="../assets/something-lost.webp" />
</div>
<div class="card-footer p-4 max-sm:hidden"></div>
</div>
</el-col>
<el-col :md="6" class="mb-6 max-sm:mb-2">
Expand Down

0 comments on commit 0aef308

Please sign in to comment.