summaryrefslogtreecommitdiff
path: root/themes/minimal/templates
diff options
context:
space:
mode:
authorRob Peters <makitso@gmail.com>2012-02-06 00:49:53 +0000
committerRob Peters <makitso@gmail.com>2012-02-06 00:49:53 +0000
commitb09d3e3c14016a7dc585dd4780bf8415675b76fa (patch)
tree6361f01f18f8197820e05cb7431976e1cfc7772e /themes/minimal/templates
parent58c46d75137002ea8e7a1ca3692dfbbf8ca6ed4f (diff)
downloadwebtrees-b09d3e3c14016a7dc585dd4780bf8415675b76fa.tar.gz
webtrees-b09d3e3c14016a7dc585dd4780bf8415675b76fa.tar.bz2
webtrees-b09d3e3c14016a7dc585dd4780bf8415675b76fa.zip
Expand template changes to other themes. To fix the text overflow issues for table based charts.
Diffstat (limited to 'themes/minimal/templates')
-rw-r--r--themes/minimal/templates/personbox_template.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/minimal/templates/personbox_template.php b/themes/minimal/templates/personbox_template.php
index cb54bb22a0..c4f85dade0 100644
--- a/themes/minimal/templates/personbox_template.php
+++ b/themes/minimal/templates/personbox_template.php
@@ -34,6 +34,7 @@ if (!defined('WT_WEBTREES')) {
echo '<div id="out-',$boxID,'" ',$outBoxAdd,'>
<div class="noprint" id="icons-',$boxID,'" style="',$iconsStyleAdd,' width: 25px; height: 50px">', $icons, '</div>',
+ '<div class="chart_textbox" style="height:auto; max-height:', $bheight,'px; overflow: hidden; ">',
$thumbnail,
'<a onclick="event.cancelBubble=true;" href="individual.php?pid=', $pid, '&amp;ged=', rawurlencode($GEDCOM), '">
<span id="namedef-',$boxID, '" class="name',$style,' ',$classfacts,'">', $name.$addname, '</span>
@@ -42,6 +43,7 @@ echo '<div id="out-',$boxID,'" ',$outBoxAdd,'>
<div id="fontdef-',$boxID,'" class="details',$style,'">
<div id="inout2-',$boxID,'" style="display:block; max-height:', ($bheight*.9),'px;">',$BirthDeath,'</div>
</div>
+ </div>
<div id="inout-',$boxID,'" style="display:none;">
<div id="LOADING-inout-',$boxID,'">',WT_I18N::translate('Loading...'),'</div>
</div>