summaryrefslogtreecommitdiff
path: root/themes/clouds
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2011-10-25 03:26:09 +0000
committerNigel Osborne <kiwi3685@me.com>2011-10-25 03:26:09 +0000
commit10c2538289f68a0423801cd259f0c82564a9e970 (patch)
tree643e00be19387920a5def0fc26a7dcf2ce2e6aad /themes/clouds
parent37611dd113c5b5904bf3c2f5477e72b782142efb (diff)
downloadwebtrees-10c2538289f68a0423801cd259f0c82564a9e970.tar.gz
webtrees-10c2538289f68a0423801cd259f0c82564a9e970.tar.bz2
webtrees-10c2538289f68a0423801cd259f0c82564a9e970.zip
Fix overflow problem on person_boxes.
Diffstat (limited to 'themes/clouds')
-rw-r--r--themes/clouds/style.css5
-rw-r--r--themes/clouds/templates/personbox_template.php2
-rw-r--r--themes/clouds/theme.php2
3 files changed, 6 insertions, 3 deletions
diff --git a/themes/clouds/style.css b/themes/clouds/style.css
index 90a4551f67..9878c54016 100644
--- a/themes/clouds/style.css
+++ b/themes/clouds/style.css
@@ -796,12 +796,15 @@ font-size: 20px;
color:#7af;
}
+.name1 {font-size:11px;}
+
.name1, .name2, .nameZoom {
font-weight: bold;
}
a:hover .name1, a:hover.name2, a:hover .nameZoom {color: #f00; font-weight: bold}
+
.details1 {
text-decoration:none;
}
@@ -1784,7 +1787,7 @@ html[dir='rtl'] .editlink, html[dir='rtl'] .copylink, html[dir='rtl'] .deletelin
#indi_note .fact_SOUR {margin: 3px 0;}
#indi_note .fact_SOUR a {font-size:100%;}
#main_name {color:#555; float:left; font-size:2em; margin:10px; font-weight:bold;}
-#name1 {}
+.name1 {font-size:11px;}
#sex {float:right;}
diff --git a/themes/clouds/templates/personbox_template.php b/themes/clouds/templates/personbox_template.php
index bdd3dfc4eb..1e611c53fd 100644
--- a/themes/clouds/templates/personbox_template.php
+++ b/themes/clouds/templates/personbox_template.php
@@ -50,7 +50,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;"><?php echo $BirthDeath; ?></div>
+ <div id="inout2-<?php echo $boxID; ?>" style="display: block; overflow:hidden; max-height: <?php echo $bheight-20; ?>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>
diff --git a/themes/clouds/theme.php b/themes/clouds/theme.php
index 759fc74261..6986b62172 100644
--- a/themes/clouds/theme.php
+++ b/themes/clouds/theme.php
@@ -177,7 +177,7 @@ $fanChart = array(
);
//-- This section defines variables for the pedigree chart
-$bwidth = 225; // -- width of boxes on pedigree chart
+$bwidth = 240; // -- width of boxes on pedigree chart
$bheight = 80; // -- height of boxes on pedigree chart
$baseyoffset = 10; // -- position the entire pedigree tree relative to the top of the page
$basexoffset = 10; // -- position the entire pedigree tree relative to the left of the page