app-form-item.less 860 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
.app-form-item {
  height: 100%;
  padding: 0 6px;
  .editor {
      height: 100%;
      .ivu-form-item-content {
          height: 100%;
          min-height: 36px;
      }
  }
  .app-form-item-label {
      padding: 6px 10px 6px 0px;
13 14 15
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
  }
}

.app-form-item.label-top, .app-form-item.label-bottom {
  .app-form-item-label {
      display: block;
  }
}

.app-form-item.label-left, .app-form-item.label-right {
  .app-form-item-label, .editor {
      height: 100%;
  }
}

.app-form-item.label-left {
  .app-form-item-label {
      float: left;
      text-align: right;
  }
}

.app-form-item.label-right {
  .app-form-item-label {
      float: right;
      padding: 6px 0px 6px 10px;
  }
}

.app-form-item.label-none {
  .app-form-item-label {
      display: none !important;
  }
}