diff options
| author | David Drury <david@drury.me.uk> | 2015-02-22 14:26:53 +0000 |
|---|---|---|
| committer | David Drury <david@drury.me.uk> | 2015-02-22 14:26:53 +0000 |
| commit | c72236f2977039fd57d063518c52cea9b0e7701a (patch) | |
| tree | b8d7da78266ced4602e1e6c6edb5c28c20773439 /themes/fab | |
| parent | f306643cddf12841dd71da34cd18f91bd91b60e6 (diff) | |
| download | webtrees-c72236f2977039fd57d063518c52cea9b0e7701a.tar.gz webtrees-c72236f2977039fd57d063518c52cea9b0e7701a.tar.bz2 webtrees-c72236f2977039fd57d063518c52cea9b0e7701a.zip | |
Pedigree chart tidying
Remove more "magic numbers"
Accurately setting the #pedigree_chart width & height allows the chart
to be positioned by css thus allowing a few chart variables to be
removed
Diffstat (limited to 'themes/fab')
| -rw-r--r-- | themes/fab/css-1.7.0/style.css | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/themes/fab/css-1.7.0/style.css b/themes/fab/css-1.7.0/style.css index 346cc7c3aa..cdbaf7046b 100644 --- a/themes/fab/css-1.7.0/style.css +++ b/themes/fab/css-1.7.0/style.css @@ -3420,7 +3420,7 @@ table.table-census-assistant th { } #pedigree-page table.list_table { - margin: 0 auto 20px; + margin: 0 auto; width: 500px; } @@ -3433,12 +3433,7 @@ table.table-census-assistant th { #pedigree_chart { position: relative; - left: 0; -} - -[dir=rtl] #pedigree_chart { - left: auto; - right: 0; + margin: 20px auto; } #pedigree_canvas { @@ -4509,17 +4504,7 @@ footer { border: solid #888 1px; background: #fff; } - - #pedigree_chart { - left: -35px; - top: 0; - } - - [dir=rtl] #pedigree_chart { - left: auto; - right: -20px; - } - + #header_accordion1 { width: 510px; } |
