Sha256: 6775546f4e72b4e789da764d7ca588cf26ea654a423ba36e80ee3c2483f802b1

Contents?: true

Size: 522 Bytes

Versions: 2

Compression:

Stored size: 522 Bytes

Contents

// Convert input groups to use flexbox instead of table layout.

.input-group {
  display: flex;

  .field_with_errors {
    flex: 1;

    .form-control {
      border-radius: $input-border-radius;
    }

    &:not(:last-child) .form-control {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }

    &:not(:first-child) .form-control {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }
  }
}

.input-group-addon {
  width: auto;
  display: flex;
  align-items: center;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trestle-0.8.9 app/assets/stylesheets/trestle/components/_input-group.scss
trestle-0.8.8 app/assets/stylesheets/trestle/components/_input-group.scss