mirror of https://github.com/zlatinb/muwire
move comment box to the center
parent
2b0f4e52ca
commit
5774cdee94
|
@ -275,11 +275,9 @@ div.right {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.rightcomment {
|
div.centercomment {
|
||||||
display: block;
|
display: block;
|
||||||
text-align: right;
|
text-align: center;
|
||||||
float: right;
|
|
||||||
width: 50%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
span.right {
|
span.right {
|
||||||
|
|
|
@ -19,7 +19,7 @@ class SharedFile {
|
||||||
var showCommentHtml = ""
|
var showCommentHtml = ""
|
||||||
var showCommentLink = new Link(_t("Comment"), "showCommentForm", [this.path])
|
var showCommentLink = new Link(_t("Comment"), "showCommentForm", [this.path])
|
||||||
showCommentHtml = "<span id='comment-link-" + this.path + "'>" + showCommentLink.render() + "</span>"
|
showCommentHtml = "<span id='comment-link-" + this.path + "'>" + showCommentLink.render() + "</span>"
|
||||||
var commentDiv = "<div class='rightcomment' id='comment-" + this.path + "'></div>"
|
var commentDiv = "<div class='centercomment' id='comment-" + this.path + "'></div>"
|
||||||
var nameLink = "<a href='/MuWire/DownloadedContent/" + this.infoHash + "'>" + this.name + "</a>"
|
var nameLink = "<a href='/MuWire/DownloadedContent/" + this.infoHash + "'>" + this.name + "</a>"
|
||||||
|
|
||||||
var html = nameLink + "<div class=\"right\">" + unshareLink.render() + " " + showCommentHtml + " " + certifyHtml + "</div>"
|
var html = nameLink + "<div class=\"right\">" + unshareLink.render() + " " + showCommentHtml + " " + certifyHtml + "</div>"
|
||||||
|
|
Loading…
Reference in New Issue