mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-13 08:27:51 +00:00
added postboard updating after retwist, fixed UI issues of retwist-reply prompts and DM reply form
This commit is contained in:
parent
511a5658c7
commit
f9d7b22aef
@ -1330,6 +1330,14 @@ ol.toptrends-list {
|
||||
/*************************************
|
||||
****************** DIRECT MESSAGES MODAL
|
||||
**************************************/
|
||||
.directMessages .modal-wrapper
|
||||
{
|
||||
overflow-y: auto;
|
||||
}
|
||||
.directMessages .modal-content
|
||||
{
|
||||
height: auto;
|
||||
}
|
||||
.directMessages .modal-buttons
|
||||
{
|
||||
display: none;
|
||||
@ -1582,20 +1590,29 @@ ol.toptrends-list {
|
||||
****************** RETWIST POSTS PROMPT
|
||||
**************************************/
|
||||
|
||||
.reTwist
|
||||
{
|
||||
margin-top: -100px;
|
||||
}
|
||||
.reTwist .post-expand,
|
||||
.reTwist .post-interactions
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
.reTwist .post {
|
||||
margin: 10px;
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
min-height: 68px;
|
||||
}
|
||||
|
||||
/*************************************
|
||||
****************** REPLY POSTS PROMPT
|
||||
**************************************/
|
||||
|
||||
.reply
|
||||
{
|
||||
margin-top: -140px;
|
||||
}
|
||||
.reply .modal-buttons
|
||||
{
|
||||
display: none;
|
||||
@ -1615,6 +1632,11 @@ ol.toptrends-list {
|
||||
width: 580px;
|
||||
}
|
||||
|
||||
.reply .post-area-extras
|
||||
{
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.reply .post {
|
||||
margin: 10px;
|
||||
padding: 5px;
|
||||
|
@ -256,6 +256,7 @@ function newRtMsg($postOrig) {
|
||||
function(arg, ret) { incLastPostId(); }, null,
|
||||
function(arg, ret) { var msg = ("message" in ret) ? ret.message : ret;
|
||||
alert(polyglot.t("ajax_error", { error: msg })); }, null);
|
||||
setTimeout('requestTimelineUpdate("latest",postsPerRefresh,followingUsers,promotedPostsOnly)', 1000);
|
||||
} else {
|
||||
alert(polyglot.t("Internal error: lastPostId unknown (following yourself may fix!)"));
|
||||
}
|
||||
|
@ -1772,25 +1772,31 @@ textarea.splited-post {
|
||||
padding: 10px;
|
||||
}
|
||||
/*************************************
|
||||
****************** RETWIST POSTS MODAL
|
||||
****************** RETWIST POSTS PROMPT
|
||||
**************************************/
|
||||
.reTwist .modal-wrapper
|
||||
|
||||
.reTwist
|
||||
{
|
||||
width: 520px;
|
||||
margin: -100px 0 0 -260px;
|
||||
margin-top: -100px;
|
||||
}
|
||||
.reTwist .post-expand,
|
||||
.reTwist .post-interactions
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
.reTwist .post {
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
min-height: 68px;
|
||||
}
|
||||
|
||||
/*************************************
|
||||
****************** REPLY POSTS MODAL
|
||||
****************** REPLY POSTS PROMPT
|
||||
**************************************/
|
||||
.reply .modal-wrapper
|
||||
|
||||
.reply
|
||||
{
|
||||
width: 520px;
|
||||
margin: -100px 0 0 -260px;
|
||||
margin-top: -140px;
|
||||
}
|
||||
.reply .modal-buttons
|
||||
{
|
||||
@ -1801,6 +1807,27 @@ textarea.splited-post {
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.reply .textcomplete-wrapper{
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.reply .textcomplete-wrapper textarea{
|
||||
margin: 10px;
|
||||
width: 580px;
|
||||
}
|
||||
|
||||
.reply .post-area-extras
|
||||
{
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.reply .post {
|
||||
margin: 10px;
|
||||
padding: 5px;
|
||||
min-height: 68px;
|
||||
}
|
||||
|
||||
/*************************************
|
||||
****************** DIRECT MESSAGES MODAL
|
||||
**************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user