Commit f9dc849e authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

bugs bs5 plafonds

parent 83ac326f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -106,12 +106,12 @@ class PlafondsViewHelper extends AbstractHtmlElement
    {
        $t = $this->getView()->tag();

        $labAttrs = ['class' => ['label']];
        $labAttrs = ['class' => ['badge']];
        if ($plafond->isBloquant()) {
            $labAttrs['class'][] = 'label-danger';
            $labAttrs['class'][] = 'bg-danger';
            $labAttrs['title']   = 'Plafond bloquant';
        } else {
            $labAttrs['class'][] = 'label-info';
            $labAttrs['class'][] = 'bg-info';
            $labAttrs['title']   = 'Plafond informatif';
        }

+5 −0
Original line number Diff line number Diff line
@@ -28838,6 +28838,11 @@ ul.privileges-form li label {
}
/* Plafonds */
.plafonds .alert {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.plafonds .plafond .progress {
  margin-bottom: 0px;
}
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+6 −0
Original line number Diff line number Diff line
/* Plafonds */

.plafonds .alert {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.plafonds .plafond .progress {
  margin-bottom: 0px;
}