Fix Card title overflow bug

close #12680

close #10576 in another way
This commit is contained in:
afc163 2018-10-26 23:02:15 +08:00
parent 96e0cb5313
commit 389ecaa8ff

View File

@ -39,6 +39,7 @@
&-wrapper {
display: flex;
align-items: center;
}
&-title {
@ -46,9 +47,8 @@
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: flex;
align-items: center;
flex: 1;
display: inline-block;
}
.@{ant-prefix}-tabs {