Move scale control styling into CSS file where it belongs.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5403 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-12-14 04:47:43 +00:00
parent f223101539
commit 2a00af3dd7
2 changed files with 1 additions and 1 deletions

View File

@@ -42,7 +42,6 @@ OpenLayers.Control.Scale = OpenLayers.Class(OpenLayers.Control, {
if (!this.element) { if (!this.element) {
this.element = document.createElement("div"); this.element = document.createElement("div");
this.div.className = this.displayClass; this.div.className = this.displayClass;
this.element.style.fontSize="smaller";
this.div.appendChild(this.element); this.div.appendChild(this.element);
} }
this.map.events.register( 'moveend', this, this.updateScale); this.map.events.register( 'moveend', this, this.updateScale);

View File

@@ -22,6 +22,7 @@ div.olMapViewport {
bottom: 3em; bottom: 3em;
display: block; display: block;
position: absolute; position: absolute;
font-size: smaller;
} }
.olControlPermalink { .olControlPermalink {
right: 3px; right: 3px;