From c1eb0fe24b0127f0d4e2700c84c990c6db1a0d49 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 14 Dec 2007 12:11:33 +0000 Subject: [PATCH] Fix for "Permalink captions and harcoded to be smaller". (Closes #747) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5406 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/Permalink.js | 1 - theme/default/style.css | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Control/Permalink.js b/lib/OpenLayers/Control/Permalink.js index da63db7023..09ac1820f6 100644 --- a/lib/OpenLayers/Control/Permalink.js +++ b/lib/OpenLayers/Control/Permalink.js @@ -88,7 +88,6 @@ OpenLayers.Control.Permalink = OpenLayers.Class(OpenLayers.Control, { if (!this.element) { this.div.className = this.displayClass; this.element = document.createElement("a"); - this.element.style.fontSize="smaller"; this.element.innerHTML = "Permalink"; this.element.href=""; this.div.appendChild(this.element); diff --git a/theme/default/style.css b/theme/default/style.css index 19ab090eca..242e5d3589 100644 --- a/theme/default/style.css +++ b/theme/default/style.css @@ -29,6 +29,7 @@ div.olMapViewport { bottom: 1.5em; display: block; position: absolute; + font-size: smaller; } div.olControlMousePosition {