Personal solution: put a div outside the dom where display: flex is to be set, and set the width, that's it,
Setting position (absolute, fixed) causes flex layout to not take effect
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325330134&siteId=291194637
Recommended
Ranking