Ticket #748: Scale-StyleToCss.patch
| File Scale-StyleToCss.patch, 0.9 kB (added by penyaskito, 1 year ago) |
|---|
-
lib/OpenLayers/Control/Scale.js
old new 42 42 if (!this.element) { 43 43 this.element = document.createElement("div"); 44 44 this.div.className = this.displayClass; 45 this.element.style.fontSize="smaller";46 45 this.div.appendChild(this.element); 47 46 } 48 47 this.map.events.register( 'moveend', this, this.updateScale); -
theme/default/style.css
old new 22 22 bottom: 3em; 23 23 display: block; 24 24 position: absolute; 25 font-size: smaller; 25 26 } 26 27 .olControlPermalink { 27 28 right: 3px;
