 			]
 
 	Dom.div !->
-		Dom.style margin: '-8px -8px 0', backgroundColor: '#f8f8f8', borderBottom: '2px solid #ccc'
+		Dom.style margin: '0', backgroundColor: '#f8f8f8', borderBottom: '2px solid #ccc'
 
 		Dom.div !->
 			Dom.style

		Page.setTitle tr("Past events")
	else
		Dom.section !->
			Dom.style margin: '0 10px 14px 40px', backgroundColor: '#f6f6f6', color: Colors.highlight
			Dom.div !->
				Dom.style padding: '8px', margin: '-8px', borderRadius: '2px', textAlign: 'center', fontSize: '75%'
				Dom.div !->
					Dom.style Box: 'middle', minHeight: '20px'


		o.modify key, (v) -> v - delta

renderOverview = (showPast) !->
	Page.setCardBackground()
	log 'renderOverview'
	events = Db.shared.ref 'events'

