# HG changeset patch # User Paul Boddie # Date 1304637805 -7200 # Node ID d974cda1e9f409c3608182e9bacb558c3153654f # Parent 91d3498f16451785297b7d91e3dbc94a9cb1b4f2 Changed the print view list to display itself inline, with the list items converted to blocks and explicitly numbered in order to float event descriptions around the map. diff -r 91d3498f1645 -r d974cda1e9f4 css/event-aggregator-print.css --- a/css/event-aggregator-print.css Wed May 04 01:07:00 2011 +0200 +++ b/css/event-aggregator-print.css Fri May 06 01:23:25 2011 +0200 @@ -63,8 +63,8 @@ /* Map content. */ .event-map-container > ol { - list-style-type: decimal !important; counter-reset: marker 0; + display: inline; } .event-map-container > img { @@ -75,15 +75,17 @@ counter-increment: marker; float: left; margin: 0.5em; - list-style-position: inside; + display: block; /* not relying on list-item since the counter doesn't get incremented when the list is displayed inline */ } -.event-map-container > ol > li.event-map-unpositioned { - list-style-type: none; /* unpositioned events do not refer to a marker */ +.event-map-container > ol > li.event-map-unpositioned:before { + display: none; /* unpositioned events do not refer to a marker */ } .event-map-container > ol > li:before { vertical-align: top; + content: counter(marker); + margin-right: 0.5em; } .event-map-container div.event-map-label-only:before {