reposition certain things like the wall-to-wall "to" photo when one changes the size of the author icons

This commit is contained in:
friendica 2013-11-15 23:18:53 -08:00
parent f13c513aba
commit 579cf4ccfb
2 changed files with 9 additions and 6 deletions

View File

@ -840,6 +840,7 @@ footer {
.thread-wrapper .wall-item-comment-wrapper, .wall-item-content-wrapper.comment {
margin-left: 50px;
border-left: 2px solid #eee;
}
.wall-item-content-wrapper {
@ -911,7 +912,7 @@ footer {
left: 50px;
margin: 0;
position: absolute;
top: 70px;
top: $wwtop;
width: 30px
}
.wallwall .wwto img {
@ -926,7 +927,7 @@ footer {
.wall-item-arrowphoto-wrapper {
position: absolute;
left: 75px;
top: 70px;
top: $wwtop;
z-index: 99;
}
.wall-item-wrapper {
@ -1084,8 +1085,8 @@ footer {
.comment-edit-text-empty {
color: gray;
height: 1.5em;
width: 40%; /*Too wide? */
height: 1.0em;
width: 270px;
overflow: auto;
margin-bottom: 10px;
}

View File

@ -94,11 +94,12 @@
if(! $top_photo)
$top_photo = '64px';
$pmenu_top = intval($top_photo) - 6 . 'px';
$wwtop = intval($top_photo) - 5 . 'px';
if(! $reply_photo)
$reply_photo = '32px';
$pmenu_reply = intval($reply_photo) - 6 . 'px';
if($nav_min_opacity === false || $nav_min_opacity === '') {
$nav_float_min_opacity = 1.0;
$nav_percent_min_opacity = 100;
@ -161,7 +162,8 @@ $options = array (
'$top_photo' => $top_photo,
'$reply_photo' => $reply_photo,
'$pmenu_top' => $pmenu_top,
'$pmenu_reply' => $pmenu_reply
'$pmenu_reply' => $pmenu_reply,
'$wwtop' => $wwtop
);
echo str_replace(array_keys($options), array_values($options), $x);