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