Commit ba98002d authored by utkarsh_33's avatar utkarsh_33 Committed by Chris Wells
Browse files

Issue #3314210 by Utkarsh_33, shwetaDevkate, narendraR, bnjmnm,...

Issue #3314210 by Utkarsh_33, shwetaDevkate, narendraR, bnjmnm, chrisfromredfin: Re-arrange radio-buttons for better usability
parent 0385228c
Loading
Loading
Loading
Loading
+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+9 −34
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
            value={id}
          />
          <slot name="label" {id} {label}>
            <label class="radio-label" for={filterType + id}>
            <label for={filterType + id}>
              {label}
            </label>
          </slot>
@@ -43,33 +43,27 @@
    width: 20px;
    height: 20px;
  }
  .radio-label {
    font-weight: normal;
    padding-left: 25px;
  }
  .filter-group {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    flex-direction: column;
    display: inline-grid;
    position: relative;
    margin-bottom: 20px;
    margin-top: 15px;
    padding-left: 15px;
    padding-top: 15px;
    justify-content: flex-start;
  }

  .filter-title {
    font-size: 18px;
    margin-right: 10px;
    width: 24%;
    display: inline-block;
  }

  .filter-options-wrapper {
    width: 74%;
  }

  .filter-options {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    flex-direction: column;
  }

@@ -78,27 +72,14 @@
  }

  .filter-option {
    flex: 0 0 50%;
    margin-bottom: 10px;
    line-height: 25px;
    position: relative;
  }

  @media only screen and (min-width: 72rem) {
    .filter-option {
      flex: 0 0 33%;
    }
  }

  @media only screen and (min-width: 42rem) {
    .filter-options {
      flex-direction: row;
    }
  }

  @media only screen and (max-width: 54rem) {
  @media only screen and (max-width: 72rem) {
    .filter-group {
      flex-direction: column;
      display: table;
    }
  }

@@ -107,10 +88,4 @@
    top: 2px;
    left: 5px;
  }

  @media screen and (max-width: 855px) {
    .filter-title {
      display: contents;
    }
  }
</style>