Couple of visual tweaks

This commit is contained in:
Latif Khalifa
2013-10-13 11:00:43 +02:00
parent a787ed7255
commit 8ccc4986ac
2 changed files with 5 additions and 4 deletions

View File

@@ -71,9 +71,9 @@ $filter->render();
x -= dwidth + 40;
}
var y = e.pageY + $(document).scrollTop();
var y = e.pageY - $(document).scrollTop();
var dheight = $dialog.height();
if (dheight < 40) dheight = 40;
if (dheight < 70) dheight = 70;
//console.debug("y=" + y + "; wheight=" + $(window).height() + ": dheight=" + dheight);
if (y < $(window).height() - dheight - 40)
{

View File

@@ -48,9 +48,10 @@ $filter->render();
foreach($sigs as $r):
$parts = explode("|", $r->signature_text);
$txt = "";
if ($parts[1]) $txt .= preg_replace("/((&lt;|&gt;|,|\\(|\\)))/", "&thinsp;\\1&thinsp;", htmlentities($parts[1]));
if ($parts[1]) $txt .= preg_replace("/((::|&lt;|&gt;|,|\\(|\\)))/", "<wbr/>\\1<wbr/>", htmlentities($parts[1]));
if ($txt) $txt .= "<br/><br/>";
if ($parts[2]) $txt .= preg_replace("/((&lt;|&gt;|,|\\(|\\)))/", "&thinsp;\\1&thinsp;", htmlentities($parts[2]));
if ($parts[2]) $txt .= preg_replace("/((::|&lt;|&gt;|,|\\(|\\)))/", "<wbr/>\\1<wbr/>", htmlentities($parts[2]));
if (!$txt) $txt = "&nbsp;";
?>
<tr class="rowhighlight">
<td style="text-align: right"><a href="<?php echo rl_s($r) ?>"><?php echo htmlentities($r->nr) ?></a></td>