summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-01-27 22:31:01 +0000
committerGreg Roach <fisharebest@gmail.com>2014-01-27 22:31:01 +0000
commitdac62f7d7de3359fc1da0d47b43cd07a5b50167a (patch)
treedb059219a59d70afc5bf5e5cce76c72393e4a191
parent627bef1618493a58c6d871fbc171813393c2bab3 (diff)
downloadwebtrees-dac62f7d7de3359fc1da0d47b43cd07a5b50167a.tar.gz
webtrees-dac62f7d7de3359fc1da0d47b43cd07a5b50167a.tar.bz2
webtrees-dac62f7d7de3359fc1da0d47b43cd07a5b50167a.zip
Aspect ratio of images in interactive tree
-rw-r--r--modules_v3/tree/css/treeview.css10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules_v3/tree/css/treeview.css b/modules_v3/tree/css/treeview.css
index d6aef26ef3..3b79d7b854 100644
--- a/modules_v3/tree/css/treeview.css
+++ b/modules_v3/tree/css/treeview.css
@@ -209,11 +209,11 @@ table#tvTreeBorder td, #tv_tree {
padding:2px;
}
#tv_tree div.tv_box img {
- max-width:50px;
- _width:50px; /* hack for IE versions that do not understand max-width */
- max-height:50px;
- margin:2px;
- float:left;
+ float: left;
+ margin: 2px;
+ max-height: 50px;
+ max-width: 80px;
+ width: auto;
}
html[dir=rtl] #tv_tree div.tv_box img {
float:right;