modify style for checkbox

This commit is contained in:
Lamrani Abdel 2023-01-13 14:19:14 +01:00
parent 336ac00ae3
commit 313608b627
2 changed files with 5 additions and 1 deletions

View File

@ -1071,7 +1071,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 class="fright" id="cb'.$this->id.'" class="flat checkforselect" 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

@ -492,6 +492,10 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) {
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;