diff options
| author | Rob Peters <makitso@gmail.com> | 2011-11-19 16:02:11 +0000 |
|---|---|---|
| committer | Rob Peters <makitso@gmail.com> | 2011-11-19 16:02:11 +0000 |
| commit | d64d49d0d534ed58d3677e4f564c22882f2e0726 (patch) | |
| tree | 52a137e2eadf4b690a8835e0b6fc902ffdb948eb /themes/minimal/templates | |
| parent | fa86203ad3e5ab4aace03005cb36d249fcf083ba (diff) | |
| download | webtrees-d64d49d0d534ed58d3677e4f564c22882f2e0726.tar.gz webtrees-d64d49d0d534ed58d3677e4f564c22882f2e0726.tar.bz2 webtrees-d64d49d0d534ed58d3677e4f564c22882f2e0726.zip | |
This patch makes the charts that use person_box consistent in their height and width.
1.) These values are defined in the theme.php file. For those charts that have the % width option, the patch expands both height and width. For charts with the detailed checkbox unselected, the box size is a consistent percentage of the larger box.
2.) The name block is now set to 1/2 the box height.
Diffstat (limited to 'themes/minimal/templates')
| -rw-r--r-- | themes/minimal/templates/personbox_template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/minimal/templates/personbox_template.php b/themes/minimal/templates/personbox_template.php index e2d76fc8c8..63eb634a33 100644 --- a/themes/minimal/templates/personbox_template.php +++ b/themes/minimal/templates/personbox_template.php @@ -46,7 +46,7 @@ if (!defined('WT_WEBTREES')) { <span class="name<?php echo $style; ?>"> <?php echo $genderImage; ?></span> <?php echo $showid; ?> </a> <div id="fontdef-<?php echo $boxID; ?>" class="details<?php echo $style; ?>"> - <div id="inout2-<?php echo $boxID; ?>" style="display: block; overflow:hidden; max-height: <?php echo $bheight-43; ?>px;"><?php echo $BirthDeath; ?></div> + <div id="inout2-<?php echo $boxID; ?>" style="display: block; overflow:hidden; max-height: <?php echo $bheight/2; ?>px;"><?php echo $BirthDeath; ?></div> </div> <div id="inout-<?php echo $boxID; ?>" style="display: none;"> <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo WT_I18N::translate('Loading...'); ?></div> |
