@import "~antd/lib/style/themes/default.less"; :global { .list_item{ .img { width: 45px; height: 45px; border-radius: 50%; float: left; margin: 0; } .img-span { float: left; display: inline-block; width: 45px; height: 45px; border-radius: 50%; // border: 1px solid #dddddd; background: #0f71ff; color: #ffffff; text-align: center; line-height: 45px; span { line-height: 45px; } } } } .list_item{ display: flex; padding-bottom: 12px; margin: 12px 16px 0 16px; justify-content: flex-start; align-items: flex-start; border-bottom: 1px solid #D9D9D9; cursor: pointer; .item{ margin-left: 8px; .item_company_name{ color: #000; overflow: hidden; text-overflow: ellipsis; // white-space: nowrap; width: 212px; } } }