do a better job of lining things up (like comments) when the photo size changes
This commit is contained in:
parent
579cf4ccfb
commit
60a9d9e750
@ -839,7 +839,7 @@ footer {
|
|||||||
|
|
||||||
|
|
||||||
.thread-wrapper .wall-item-comment-wrapper, .wall-item-content-wrapper.comment {
|
.thread-wrapper .wall-item-comment-wrapper, .wall-item-content-wrapper.comment {
|
||||||
margin-left: 50px;
|
margin-left: $comment_indent;
|
||||||
border-left: 2px solid #eee;
|
border-left: 2px solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,6 +95,7 @@
|
|||||||
$top_photo = '64px';
|
$top_photo = '64px';
|
||||||
$pmenu_top = intval($top_photo) - 6 . 'px';
|
$pmenu_top = intval($top_photo) - 6 . 'px';
|
||||||
$wwtop = intval($top_photo) - 5 . 'px';
|
$wwtop = intval($top_photo) - 5 . 'px';
|
||||||
|
$comment_indent = intval($top_photo) + 10 . 'px';
|
||||||
|
|
||||||
if(! $reply_photo)
|
if(! $reply_photo)
|
||||||
$reply_photo = '32px';
|
$reply_photo = '32px';
|
||||||
@ -163,7 +164,8 @@ $options = array (
|
|||||||
'$reply_photo' => $reply_photo,
|
'$reply_photo' => $reply_photo,
|
||||||
'$pmenu_top' => $pmenu_top,
|
'$pmenu_top' => $pmenu_top,
|
||||||
'$pmenu_reply' => $pmenu_reply,
|
'$pmenu_reply' => $pmenu_reply,
|
||||||
'$wwtop' => $wwtop
|
'$wwtop' => $wwtop,
|
||||||
|
'$comment_indent' => $comment_indent
|
||||||
);
|
);
|
||||||
|
|
||||||
echo str_replace(array_keys($options), array_values($options), $x);
|
echo str_replace(array_keys($options), array_values($options), $x);
|
||||||
|
Reference in New Issue
Block a user