Prevent brief from overflowing.

This commit is contained in:
Will O'Beirne 2019-03-18 12:26:57 -04:00
parent ba704f5f5c
commit 6fc6fedab7
No known key found for this signature in database
GPG Key ID: 44C190DB5DEAF9F6
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;
}
}