diff options
author | friendica <info@friendica.com> | 2013-11-15 23:51:27 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-15 23:51:27 -0800 |
commit | 60a9d9e750be5971a6fa2706c22da95796ca3b1b (patch) | |
tree | f89551472ffe146e5a18823c00277ed89bc173a1 /view/theme/redbasic/php | |
parent | 579cf4ccfb7bc55ac53fe474e1752203f8d55003 (diff) | |
download | volse-hubzilla-60a9d9e750be5971a6fa2706c22da95796ca3b1b.tar.gz volse-hubzilla-60a9d9e750be5971a6fa2706c22da95796ca3b1b.tar.bz2 volse-hubzilla-60a9d9e750be5971a6fa2706c22da95796ca3b1b.zip |
do a better job of lining things up (like comments) when the photo size changes
Diffstat (limited to 'view/theme/redbasic/php')
-rw-r--r-- | view/theme/redbasic/php/style.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index eb32e5ef7..a45482be8 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -95,6 +95,7 @@ $top_photo = '64px'; $pmenu_top = intval($top_photo) - 6 . 'px'; $wwtop = intval($top_photo) - 5 . 'px'; + $comment_indent = intval($top_photo) + 10 . 'px'; if(! $reply_photo) $reply_photo = '32px'; @@ -163,7 +164,8 @@ $options = array ( '$reply_photo' => $reply_photo, '$pmenu_top' => $pmenu_top, '$pmenu_reply' => $pmenu_reply, -'$wwtop' => $wwtop +'$wwtop' => $wwtop, +'$comment_indent' => $comment_indent ); echo str_replace(array_keys($options), array_values($options), $x); |