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:
@@ -42,7 +42,6 @@ OpenLayers.Control.Scale = OpenLayers.Class(OpenLayers.Control, {
|
||||
if (!this.element) {
|
||||
this.element = document.createElement("div");
|
||||
this.div.className = this.displayClass;
|
||||
this.element.style.fontSize="smaller";
|
||||
this.div.appendChild(this.element);
|
||||
}
|
||||
this.map.events.register( 'moveend', this, this.updateScale);
|
||||
|
||||
@@ -22,6 +22,7 @@ div.olMapViewport {
|
||||
bottom: 3em;
|
||||
display: block;
|
||||
position: absolute;
|
||||
font-size: smaller;
|
||||
}
|
||||
.olControlPermalink {
|
||||
right: 3px;
|
||||
|
||||
Reference in New Issue
Block a user