revive ~nin~'s post context #hack

This commit is contained in:
Simon Grim 2015-08-12 08:07:43 +05:00
parent adced65c55
commit 7069b01eeb
3 changed files with 8 additions and 3 deletions

View File

@ -907,6 +907,10 @@ article, aside, details, figcaption, figure, footer, header, hgroup, main, menu,
margin-right: 0.4em; margin-right: 0.4em;
} }
.post-context.post-retransmited-by-container {
margin: 0 0 1em;
}
/* line 158, ../sass/_postboard.sass */ /* line 158, ../sass/_postboard.sass */
.mini-screen-name { .mini-screen-name {
font-size: 13px; font-size: 13px;

View File

@ -8,9 +8,8 @@ $(function(){
$('.userMenu-search-profiles button').html('').attr('title',polyglot.t('Follow')); $('.userMenu-search-profiles button').html('').attr('title',polyglot.t('Follow'));
$('.mini-profile-actions span').html(''); $('.mini-profile-actions span').html('');
//$('.post-context').each(function(){ $.globalEval(postToElem.toString().replace(/postContext.append\(_templatePostRtBy/,
// $(this).prependTo($(this).parent()); 'postContext.addClass(\'post-retransmited-by-container\').prependTo(postContext.parent()).append(_templatePostRtBy'));
//});
$( '.userMenu-home.current a' ).on( 'click', function() { $( '.userMenu-home.current a' ).on( 'click', function() {

View File

@ -144,6 +144,8 @@
line-height: 11px line-height: 11px
margin: 2px 10px 4px 60px margin: 2px 10px 4px 60px
color: lighten($dark-grey,30%) color: lighten($dark-grey,30%)
&.post-retransmited-by-container
margin: 0 0 1em
.mini-screen-name .mini-screen-name
font-size: 13px font-size: 13px