Map height can set `vh`
-
The height can set to
vh,so map’s height can determine by others.
change this code,public function set_height($height) {
if (preg_match(‘/(\d*)(px|vh)/’, $height)){
$this->height = $height;
}
else {
_e(‘<div class=”notice notice-error is-dismissible”><p>only valid height in px|vh is allowed like: 300px </p></div>’);
exit;
}
}
The topic ‘Map height can set `vh`’ is closed to new replies.