diff options
| author | Rob Peters <makitso@gmail.com> | 2012-01-16 17:10:58 +0000 |
|---|---|---|
| committer | Rob Peters <makitso@gmail.com> | 2012-01-16 17:10:58 +0000 |
| commit | d711d39fe8c08efb26404ffa1699f0698803bc56 (patch) | |
| tree | f63130961bfa441f50a4d79624150361e3f8eb87 /themes | |
| parent | cbb8cbf15b17722b89308f4b31ae5581ac73df55 (diff) | |
| download | webtrees-d711d39fe8c08efb26404ffa1699f0698803bc56.tar.gz webtrees-d711d39fe8c08efb26404ffa1699f0698803bc56.tar.bz2 webtrees-d711d39fe8c08efb26404ffa1699f0698803bc56.zip | |
RTL fix for displaying lifespan on person boxes
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/colors/css/colors.css | 2 | ||||
| -rw-r--r-- | themes/colors/templates/personbox_template.php | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/themes/colors/css/colors.css b/themes/colors/css/colors.css index 551d69bb48..39f32ba3bd 100644 --- a/themes/colors/css/colors.css +++ b/themes/colors/css/colors.css @@ -574,6 +574,8 @@ border:1px solid #AAA; padding:3px; } +.person_box_lifespan {display: inline;} + .action_headerF {background: #FDD;} .action_header {background: #DDF;} diff --git a/themes/colors/templates/personbox_template.php b/themes/colors/templates/personbox_template.php index d853d6efed..542fc683c9 100644 --- a/themes/colors/templates/personbox_template.php +++ b/themes/colors/templates/personbox_template.php @@ -49,7 +49,9 @@ if (!defined('WT_WEBTREES')) { </span> <?php if (!$show_full) { + echo '<div class="person_box_lifespan" >'; echo $person->getLifeSpan(); + echo '</div>'; } ?> <span class="name<?php echo $style; ?>"> <?php echo $genderImage; ?></span> |
