Skip to content

Commit

Permalink
优化artalk评论控制中心的面板位置
Browse files Browse the repository at this point in the history
  • Loading branch information
wenjing-xin committed Jul 7, 2024
1 parent 0629fde commit 0392966
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private String pubScriptInject(boolean enableLatex, String cssUrl, String jsUrl)
""".formatted(version, cssUrl, jsUrl);
}
}else{
return null;
return "";
}
}

Expand Down
27 changes: 15 additions & 12 deletions src/main/resources/static/artalkBeautify.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,23 @@
}

.atk-sidebar-layer {
top: 10%;
left: 20%;
width: 60%;
height: 80%;
top: 10% !important;
left: 20% !important;
width: 60% !important;
height: 80% !important;
transform: translateY(120%);
border-radius: 12px;
padding: 10px 0;
background: #FFF;
border-radius: 12px !important;
padding: 10px 0 !important;
background: #FFF !important;
}

@media only screen and (max-width: 600px) {
.atk-sidebar-layer {
width: 100%;
height: 100%;
left: 0;
top: 0;
border-radius: 0
width: 100% !important;
height: 100% !important;
left: 0 !important;
top: 0 !important;
border-radius: 0 !important
}
}

Expand Down Expand Up @@ -144,3 +144,6 @@ div#post-comment {
margin-left: auto;

}



0 comments on commit 0392966

Please sign in to comment.