Prepare code for small screens
This commit is contained in:
parent
d5f3f47782
commit
a8ea2a9d06
@ -2001,7 +2001,7 @@ div.ecmjqft {
|
||||
bottom: 4px !important;
|
||||
<?php } ?>
|
||||
text-align: center;
|
||||
min-width: 500px;
|
||||
min-width: <?php echo $dol_optimize_smallscreen?'200':'480'; ?>px;
|
||||
width: auto;
|
||||
padding-left: 10px !important;
|
||||
padding-right: 10px !important;
|
||||
|
||||
@ -253,7 +253,7 @@ div.fichehalfright {
|
||||
<?php if (empty($conf->dol_optimize_smallscreen)) { print "width: 50%;\n"; } ?>
|
||||
}
|
||||
div.ficheaddleft {
|
||||
<?php if (empty($conf->dol_optimize_smallscreen)) { print "padding-left: 16px;\n"; }
|
||||
<?php if (empty($conf->dol_optimize_smallscreen)) { print "padding-left: 16px;\n"; }
|
||||
else print "margin-top: 10px;\n"; ?>
|
||||
}
|
||||
|
||||
@ -2186,7 +2186,7 @@ div.ecmjqft {
|
||||
bottom: 4px !important;
|
||||
<?php } ?>
|
||||
text-align: center;
|
||||
min-width: 500px;
|
||||
min-width: <?php echo $dol_optimize_smallscreen?'200':'480'; ?>px;
|
||||
width: auto;
|
||||
padding-left: 10px !important;
|
||||
padding-right: 10px !important;
|
||||
|
||||
@ -298,7 +298,7 @@ div.fichehalfright {
|
||||
<?php if (empty($conf->dol_optimize_smallscreen)) { print "width: 50%;\n"; } ?>
|
||||
}
|
||||
div.ficheaddleft {
|
||||
<?php if (empty($conf->dol_optimize_smallscreen)) { print "padding-left: 16px;\n"; }
|
||||
<?php if (empty($conf->dol_optimize_smallscreen)) { print "padding-left: 16px;\n"; }
|
||||
else print "margin-top: 10px;\n"; ?>
|
||||
}
|
||||
|
||||
@ -2414,7 +2414,7 @@ div.ecmjqft {
|
||||
bottom: 4px !important;
|
||||
<?php } ?>
|
||||
text-align: center;
|
||||
min-width: 500px;
|
||||
min-width: <?php echo $dol_optimize_smallscreen?'200':'480'; ?>px;
|
||||
width: auto;
|
||||
padding-left: 10px !important;
|
||||
padding-right: 10px !important;
|
||||
|
||||
@ -263,7 +263,7 @@ div.fichehalfright {
|
||||
<?php if (empty($conf->dol_optimize_smallscreen)) { print "width: 50%;\n"; } ?>
|
||||
}
|
||||
div.ficheaddleft {
|
||||
<?php if (empty($conf->dol_optimize_smallscreen)) { print "padding-left: 16px;\n"; }
|
||||
<?php if (empty($conf->dol_optimize_smallscreen)) { print "padding-left: 16px;\n"; }
|
||||
else print "margin-top: 10px;\n"; ?>
|
||||
}
|
||||
|
||||
@ -2240,7 +2240,7 @@ div.ecmjqft {
|
||||
bottom: 4px !important;
|
||||
<?php } ?>
|
||||
text-align: center;
|
||||
min-width: 500px;
|
||||
min-width: <?php echo $dol_optimize_smallscreen?'200':'480'; ?>px;
|
||||
width: auto;
|
||||
padding-left: 10px !important;
|
||||
padding-right: 10px !important;
|
||||
|
||||
@ -1545,7 +1545,7 @@ else
|
||||
if ($caneditfield)
|
||||
{
|
||||
if ($object->photo) print "<br>\n";
|
||||
print '<table class="nobordernopadding">';
|
||||
print '<table class="nobordernopadding hideonsmartphone">';
|
||||
if ($object->photo) print '<tr><td align="center"><input type="checkbox" class="flat" name="deletephoto" id="photodelete"> '.$langs->trans("Delete").'<br><br></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("PhotoFile").'</td></tr>';
|
||||
print '<tr><td><input type="file" class="flat" name="photo" id="photoinput"></td></tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user