Skip to content

Commit

Permalink
修复关闭阴影后反撤回提示位置不正确
Browse files Browse the repository at this point in the history
  • Loading branch information
xh321 committed Feb 18, 2024
1 parent eb4c7cb commit f38e36e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "防撤回",
"slug": "anti_recall",
"description": "防止QQNT撤回消息",
"version": "0.2.37",
"version": "0.2.38",
"icon": "./icon.png",
"authors": [
{
Expand All @@ -16,7 +16,7 @@
"repo": "xh321/LiteLoaderQQNT-Anti-Recall",
"branch": "master",
"release": {
"tag": "0.2.37",
"tag": "0.2.38",
"file": "qq-anti-recall.zip"
}
},
Expand Down
6 changes: 4 additions & 2 deletions renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,10 @@ async function patchCss() {
sHtml += ` margin-top:3px;
margin-left:3px;
margin-right:3px;
margin-bottom: 30px;
margin-bottom: 25px;
box-shadow: 0px 0px 20px 5px ${nowConfig.mainColor};`;
} else {
sHtml += `margin-bottom: 15px;`;
}
sHtml += ` }
.recalledNoMargin {
Expand All @@ -475,7 +477,7 @@ async function patchCss() {
.message-content-recalled {
position: absolute;
top: calc(100% + 8px);
top: calc(100% + 6px);
font-size: 12px;
white-space: nowrap;
color: var(--text-color);
Expand Down

0 comments on commit f38e36e

Please sign in to comment.