This commit is contained in:
Laurent Destailleur 2020-03-17 01:31:48 +01:00
parent 73f2e9e5de
commit 94750ed350
4 changed files with 7 additions and 4 deletions

View File

@ -125,7 +125,7 @@ class FormFile
$out .= '<input type="hidden" name="sortorder" value="'.GETPOST('sortorder', 'aZ09').'">';
}
$out .= '<table width="100%" class="nobordernopadding">';
$out .= '<table class="nobordernopadding cenpercent">';
$out .= '<tr>';
if (!empty($options)) $out .= '<td>'.$options.'</td>';
@ -168,7 +168,7 @@ class FormFile
$out .= '<input type="hidden" name="max_file_size" value="'.($maxmin * 1024).'">';
}
$out .= '<input class="flat minwidth400" type="file"';
$out .= '<input class="flat minwidth400 maxwidth200onsmartphone" type="file"';
$out .= ((!empty($conf->global->MAIN_DISABLE_MULTIPLE_FILEUPLOAD) || $conf->browser->layout != 'classic') ? ' name="userfile"' : ' name="userfile[]" multiple');
$out .= (empty($conf->global->MAIN_UPLOAD_DOC) || empty($perm) ? ' disabled' : '');
$out .= (!empty($accept) ? ' accept="'.$accept.'"' : ' accept=""');

View File

@ -1165,6 +1165,7 @@ table[summary="list_of_modules"] .fa-cog {
.maxwidth150onsmartphone { max-width: 120px; }
.maxwidth150onsmartphoneimp { max-width: 120px !important; }
.maxwidth200onsmartphone { max-width: 200px; }
.maxwidth250onsmartphone { max-width: 250px; }
.maxwidth300onsmartphone { max-width: 300px; }
.maxwidth400onsmartphone { max-width: 400px; }
.minwidth50imp { min-width: 50px !important; }
@ -4161,6 +4162,7 @@ span[phptag] {
background: #e6e6e6;
display: inline-block;
padding: 4px 0 4px 0;
z-index: 250;
}
.websitebar .buttonDelete, .websitebar .button {
text-shadow: none;

View File

@ -1245,6 +1245,7 @@ table[summary="list_of_modules"] .fa-cog {
.maxwidth150onsmartphone { max-width: 120px; }
.maxwidth150onsmartphoneimp { max-width: 120px !important; }
.maxwidth200onsmartphone { max-width: 200px; }
.maxwidth250onsmartphone { max-width: 250px; }
.maxwidth300onsmartphone { max-width: 300px; }
.maxwidth400onsmartphone { max-width: 400px; }
.minwidth50imp { min-width: 50px !important; }

View File

@ -2074,7 +2074,7 @@ if (!GETPOST('hide_websitemenu'))
// List of website
print '<span class="websiteselection">';
$out = '';
$out .= '<select name="website" class="minwidth100 maxwidth300" id="website">';
$out .= '<select name="website" class="minwidth100 maxwidth300 maxwidth150onsmartphone" id="website">';
if (empty($object->records)) $out .= '<option value="-1">&nbsp;</option>';
// Loop on each sites
$i = 0;
@ -2260,7 +2260,7 @@ if (!GETPOST('hide_websitemenu'))
if ($action != 'addcontainer')
{
print '<span class="websiteselection">'.$formwebsite->selectContainer($website, 'pageid', $pageid, 0, $action).'</span>';
print '<span class="websiteselection">'.$formwebsite->selectContainer($website, 'pageid', $pageid, 0, $action, 'maxwidth200onsmartphone').'</span>';
}
else
{