Merge pull request #23554 from lamrani002/kanbanForJob

Fix modify style for checkbox #23547
This commit is contained in:
Lucas Marcouiller 2023-01-25 11:35:34 +01:00 committed by GitHub
commit 122dd36a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -1072,7 +1072,7 @@ class Job extends CommonObject
$return .= '</span>';
$return .= '<div class="info-box-content">';
$return .= '<span class="info-box-ref">'.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'</span>';
$return .= '<input style="float:right;" id="cb'.$this->id.'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$this->id.'"'.($selected ? ' checked="checked"' : '').'>';
$return .= '<input id="cb'.$this->id.'" class="flat checkforselect fright" type="checkbox" name="toselect[]" value="'.$this->id.'"'.($selected ? ' checked="checked"' : '').'>';
if (property_exists($this, 'deplacement')) {
$return .= '<br><span class="opacitymedium">'.$langs->trans("Type").'</span>';
$return .= ' : <span class="info-box-label ">'.$this->fields['deplacement']['arrayofkeyval'][$this->deplacement].'</span>';

View File

@ -516,12 +516,9 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) {
min-width: 350px;
max-width: 350px;
}
/**for make a checkbox in the right of the box in mode kanban */
.fright {
float:right;
}
@media only screen and (max-width: 1740px) {
.info-box-module {
min-width: 315px;