Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Update Common.css
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoruaFox authored Feb 17, 2024
1 parent 26560f7 commit b34be36
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/others/Common.css
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,51 @@ body:not(.heimu_toggle_on) .heimu.off .new,body:not(.heimu_toggle_on) .heimu.off
padding-top: 1em;
}
/* 修复discussiontools以链接开头下划线位置错误 */
/* discussiontools改进 */
span[data-mw-comment-start] {
top: 0 !important;
}

.ext-discussiontools-emptystate-logo {
display: none;
}

body .ext-discussiontools-ui-replyWidget {
font-size: 1rem !important;
border: 1px solid #e6e6e6;
border-radius: 0.5em;
margin: 0 1em;
padding: 1em;
z-index: 1;
background-color: #fff;
position: absolute;
left: 0;
right: 0;
max-height: 75vh;
max-width: calc(100vw - 2em);
overflow-y: auto;
}

@media screen and (min-width: 800px) {
body .ext-discussiontools-ui-replyWidget {
max-width: 800px;
margin: 0 auto;
}
}

.ext-discussiontools-ui-newTopic .ext-discussiontools-ui-replyWidget {
position: relative;
border: 0;
max-width: 100%;
padding: 0;
top: auto;
top: initial;
right: auto;
right: initial;
bottom: auto;
bottom: initial;
left: auto;
left: initial;
margin: 0;
}
/* </nowiki> */

0 comments on commit b34be36

Please sign in to comment.