diff options
| author | David Drury <david@drury.me.uk> | 2016-06-05 19:25:45 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-06-12 21:14:57 +0100 |
| commit | 1d796a0a500ef6a27e6d62c4daaa4c60626fb61b (patch) | |
| tree | 7b4bef51871c0ee03cc820c4db6c0f816ec0d28a /modules_v3/googlemap | |
| parent | 6ce2c764be6aa3238f1bfaef423021d160220c74 (diff) | |
| download | webtrees-1d796a0a500ef6a27e6d62c4daaa4c60626fb61b.tar.gz webtrees-1d796a0a500ef6a27e6d62c4daaa4c60626fb61b.tar.bz2 webtrees-1d796a0a500ef6a27e6d62c4daaa4c60626fb61b.zip | |
Uses "display: flex" - tested on Firefox & Chrome latest versions and IE 8 - 11 & edge (desktop & mobile versions using edge's emulation function - thought ie 8&9 should fail but they don't) - Also note IE 8 & 9 display a Googlemaps api warning about unsupported browser.
Quite easy to revert to floats if preferred.
Diffstat (limited to 'modules_v3/googlemap')
| -rw-r--r-- | modules_v3/googlemap/css/wt_v3_googlemap.css | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/modules_v3/googlemap/css/wt_v3_googlemap.css b/modules_v3/googlemap/css/wt_v3_googlemap.css index c3de471aac..4cb0321956 100644 --- a/modules_v3/googlemap/css/wt_v3_googlemap.css +++ b/modules_v3/googlemap/css/wt_v3_googlemap.css @@ -17,10 +17,28 @@ margin-top: 10px; } +#wrapper { + border: 1px solid #888; + margin: 2px; + display: flex; +} + #map_pane { - border: 1px solid gray; - color: black; - width: 100%; + width: 70%; + height: 100%; +} + +#map_events { + width: 30%; + height: 100%; + padding: 0; + overflow-y: auto; +} + +.gmoptions { + width: 70%; + margin: 2px; + text-align: center; } div.infowindow { |
