Some of the problems of position changing lines?

recently wrote something to compare the text, and then considered the problem of line wrapping, that is,



{item.lenContent}

{item.content}


ant-list-item

have you thought about using table, at first, and then you still use the list, that comes with ant design? or is there a better way to solve it?

Apr.16,2021

div absolutely positions the text. You should use


< div style= {{position:'relative',width: '100%'}} >
< label style= {{position:'absolute',width: '100%'}} > {item.content} < / label >
< label style= {{position:'relative',visibility: 'hidden',width:' 100%}} > {item.lenContent} < / label >
< / div >
I have done it. The judgment and data have been modified, but thank you for your answer

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34d7a-4ebae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34d7a-4ebae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?