Merge pull request #401 from grant-project/overflow-brief

Prevent brief from overflowing
This commit is contained in:
Daniel Ternyak 2019-03-18 15:56:15 -05:00 committed by GitHub
commit e51b82cf9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View File

@ -7,6 +7,9 @@
margin-bottom: 1rem;
&-info {
min-width: 0;
padding-right: 2rem;
&-title {
font-size: 1.2rem;
font-weight: 600;

View File

@ -16,3 +16,20 @@
div.antd-pro-ellipsis-ellipsis {
word-break: break-word;
}
// 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;
}
}