Commit 62f70531 authored by Dieter Holvoet's avatar Dieter Holvoet Committed by Sascha Eggenberger
Browse files

Issue #3355062: Vertical alignment of single on/off checkbox views exposed looks off

parent f918f092
Loading
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -907,6 +907,15 @@ details summary {
  margin-left: var(--gin-spacing-xs);
}

.views-exposed-form.views-exposed-form .form-type--boolean.form-type--checkbox {
  margin-top: auto;
  margin-bottom: var(--gin-spacing-s);
}

.views-exposed-form.views-exposed-form .form-type--boolean.form-type--checkbox .form-item__label {
  margin-bottom: 0;
}

.views-exposed-form.views-exposed-form .fieldset--group {
  margin-top: var(--gin-spacing-s);
}
+10 −0
Original line number Diff line number Diff line
@@ -116,6 +116,16 @@
    margin-right: var(--gin-spacing-xs);
  }

  // Single on/off checkbox (through Better Exposed Filters)
  .form-type--boolean.form-type--checkbox {
    margin-top: auto;
    margin-bottom: var(--gin-spacing-s);

    .form-item__label {
      margin-bottom: 0;
    }
  }

  .fieldset--group {
    margin-top: var(--gin-spacing-s);
  }