fix small css issues

This commit is contained in:
Daniel Seichter
2019-11-25 23:13:31 +01:00
parent 7af6fa199c
commit 9eafc8f550
2 changed files with 2 additions and 2 deletions

View File

@@ -7010,7 +7010,7 @@ abstract class CommonObject
if ($nbbyrow > 0)
{
if ($nbphoto == 1) $return .= '<table class="valigntop center centpercent" style="border: 0; padding: 2; border-spacing: 2px; border-collapse: separate;">';
if ($nbphoto == 1) $return .= '<table class="valigntop center centpercent" style="border: 0; padding: 2px; border-spacing: 2px; border-collapse: separate;">';
if ($nbphoto % $nbbyrow == 1) $return .= '<tr class="center valignmiddle" style="border: 1px">';
$return .= '<td style="width: '.ceil(100 / $nbbyrow).'%" class="photo">';