1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-17 03:51:06 +01:00

Fix: offsetParent is not set (Firefox)

This commit is contained in:
Luca 2018-10-30 23:06:03 +01:00
parent 6b97f289be
commit 699bf029d9
2 changed files with 7 additions and 1 deletions

View File

@ -806,4 +806,10 @@ input.small-width {
.before.input-group-addon .select2-selection, .before.input-group-addon{
border-radius:4px 0px 0px 4px;
border-right:none;
}
.hide-it-off-screen {
position: absolute;
left: -10000px;
top: -10000px;
}

View File

@ -95,7 +95,7 @@ class FileManager implements ManagerInterface
$supported_extensions = ['pdf', 'jpg', 'png', 'gif', 'jpeg', 'bmp'];
if (in_array(strtolower($extension), $supported_extensions)) {
$result .= "
<div class='hide' id='view-".$r['id']."'>";
<div class='hide-it-off-screen' id='view-".$r['id']."'>";
if ($extension == 'pdf') {
$result .= '