2018-12-14 11:36:22 -08:00
|
|
|
@import 'variables.less';
|
|
|
|
|
2018-09-25 13:14:51 -07:00
|
|
|
// Forms
|
2018-12-14 11:36:22 -08:00
|
|
|
.ant-form-item-label {
|
|
|
|
line-height: 1rem;
|
|
|
|
}
|
2018-09-25 13:14:51 -07:00
|
|
|
.ant-form-label label,
|
|
|
|
.ant-form-item-label label {
|
|
|
|
font-size: 1rem;
|
2018-12-14 11:36:22 -08:00
|
|
|
}
|
|
|
|
.ant-form-item-required:before {
|
|
|
|
color: @primary-color;
|
|
|
|
}
|
2019-02-01 11:13:30 -08:00
|
|
|
|
|
|
|
// Fix ellipsis breaking on character. I think it's a chinese simplified thing.
|
|
|
|
div.antd-pro-ellipsis-ellipsis {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2019-03-18 09:26:57 -07:00
|
|
|
|
|
|
|
// List items with long content can push the actions aside
|
|
|
|
.ant-list-item {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.ant-list-item-content,
|
|
|
|
.ant-list-item-meta,
|
|
|
|
.ant-list-item-meta-content {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-list-item-meta-title,
|
|
|
|
.ant-list-item-meta-description {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|