From 0511202743ba5b398254608421246e21fd3b72a8 Mon Sep 17 00:00:00 2001 From: Alexis THOMAS Date: Fri, 2 Jun 2017 14:16:57 +0200 Subject: [PATCH 1/2] Correct controls position in Center example --- examples/center.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/center.css b/examples/center.css index 3f96011ab0..a57a8e7811 100644 --- a/examples/center.css +++ b/examples/center.css @@ -10,9 +10,13 @@ div.ol-zoom { top: 178px; left: 158px; } +div.ol-rotate { + top: 178px; + right: 58px; +} div.ol-attribution { - bottom: 30px; - right: 50px; + bottom: 30px !important; + right: 50px !important; } .padding-top { position: absolute; From d9d371479a5439ac9e318ffce1db089a9189439a Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Thu, 7 Sep 2017 09:16:03 +0200 Subject: [PATCH 2/2] Avoid !important selectors --- examples/center.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/center.css b/examples/center.css index a57a8e7811..f3eea4d4cb 100644 --- a/examples/center.css +++ b/examples/center.css @@ -14,9 +14,9 @@ div.ol-rotate { top: 178px; right: 58px; } -div.ol-attribution { - bottom: 30px !important; - right: 50px !important; +.map div.ol-attribution { + bottom: 30px; + right: 50px; } .padding-top { position: absolute;