From 0b82cb8050a7c883f6efb8ed415a467ba402dd14 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 9 Sep 2013 09:18:21 +0200 Subject: [PATCH] Fix rotate-north control display on touch devices --- examples/custom-controls.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/examples/custom-controls.html b/examples/custom-controls.html index 1961dfdeac..7fef6a8950 100644 --- a/examples/custom-controls.html +++ b/examples/custom-controls.html @@ -17,6 +17,9 @@ border-radius: 4px; padding: 2px; } + .ol-touch .rotate-north { + top: 80px; + } .rotate-north a { display: block; color: white; @@ -31,6 +34,12 @@ width: 22px; background: rgba(0,60,136,0.5); } + .ol-touch .rotate-north a { + font-size: 20px; + height: 30px; + width: 30px; + line-height: 26px; + } .rotate-north a:hover { background: rgba(0,60,136,0.7); }