modify style for checkbox

This commit is contained in:
Lamrani Abdel 2023-01-13 14:20:19 +01:00
parent fb25fcc467
commit 3fdb445cf3
2 changed files with 5 additions and 2 deletions

View File

@ -1130,7 +1130,7 @@ class Skill extends CommonObject
$return .= '</span>';
$return .= '<div class="info-box-content">';
$return .= '<span class="info-box-ref">'.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $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, 'skill_type')) {
$return .= '<br><span class="opacitymedium">'.$langs->trans("Type").'</span>';
$return .= ' : <span class="info-box-label ">'.$this->fields['skill_type']['arrayofkeyval'][$this->skill_type].'</span>';

View File

@ -491,7 +491,10 @@ 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;