Skip to content

Commit

Permalink
fix: chat history panel padding bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Jul 10, 2024
1 parent 83d1c72 commit 1a97ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rules/live.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ if (isPageLiveRoom()) {
description: '隐藏 互动框 (倒计时互动)',
defaultStatus: true,
itemCSS: `#combo-card:has(.countDownBtn) {display: none !important;}
.chat-history-panel.new {padding-bottom: 0 !important;}`,
.chat-history-panel {padding-bottom: 0 !important;}`,
}),
// 隐藏 互动框 (他们都在说), 默认开启
new CheckboxItem({
Expand Down Expand Up @@ -611,7 +611,7 @@ if (isPageLiveRoom()) {
#chat-control-panel-vm {
display: none !important;
}
.chat-history-panel, .chat-history-panel.new {
.chat-history-panel {
height: calc(100% - var(--rank-list-height, 178px) - var(--chat-control-panel-height, 145px)) !important;
}
.chat-history-panel .chat-history-list {
Expand Down

0 comments on commit 1a97ce3

Please sign in to comment.