mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Visual console in fullscreen does not allow see complete background if is bigger than screen - #63
This commit is contained in:
parent
f02827d235
commit
d7b24fc9c9
@ -2463,21 +2463,12 @@ function visual_map_print_visual_map ($id_layout, $show_links = true,
|
|||||||
echo 'width:100%;height:100%;position:absolute;';
|
echo 'width:100%;height:100%;position:absolute;';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
echo 'background-color:'.$layout["background_color"].';"><div id="background_'.$id_layout.'"
|
echo 'background-color:'.$layout["background_color"].';"><div id="background_'.$id_layout.'"
|
||||||
style="margin:0px auto;';
|
style="margin:0px auto;text-align:
|
||||||
|
z-index: 0;
|
||||||
if(get_parameter('pure')==1){
|
position:relative;
|
||||||
echo 'top: 50%;
|
width:' . $mapWidth . 'px;
|
||||||
transform: translate(-0%, -50%);
|
height:' . $mapHeight . 'px;">';
|
||||||
-webkit-transform: translate(-0%, -50%);';
|
|
||||||
}
|
|
||||||
|
|
||||||
echo 'text-align:;
|
|
||||||
z-index: 0;
|
|
||||||
position:relative;
|
|
||||||
width:' . $mapWidth . 'px;
|
|
||||||
height:' . $mapHeight . 'px;">';
|
|
||||||
echo "<img src='" .
|
echo "<img src='" .
|
||||||
ui_get_full_url($backgroundImage) . "' width='100%' height='100%' />";
|
ui_get_full_url($backgroundImage) . "' width='100%' height='100%' />";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user