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
This commit is contained in:
@@ -88,7 +88,6 @@ OpenLayers.Control.Permalink = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
if (!this.element) {
|
if (!this.element) {
|
||||||
this.div.className = this.displayClass;
|
this.div.className = this.displayClass;
|
||||||
this.element = document.createElement("a");
|
this.element = document.createElement("a");
|
||||||
this.element.style.fontSize="smaller";
|
|
||||||
this.element.innerHTML = "Permalink";
|
this.element.innerHTML = "Permalink";
|
||||||
this.element.href="";
|
this.element.href="";
|
||||||
this.div.appendChild(this.element);
|
this.div.appendChild(this.element);
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ div.olMapViewport {
|
|||||||
bottom: 1.5em;
|
bottom: 1.5em;
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.olControlMousePosition {
|
div.olControlMousePosition {
|
||||||
|
|||||||
Reference in New Issue
Block a user