Why can I not flexbox certain elements in ReactJS?
问题 I started out trying to style <Link> elements from react-router . <Link style={{display: 'flex'}}>...</Link> but it seems like it strips the display CSS property specifically. Does anyone know why and how to fix it? I get the same problems with <a style={{display: 'flex', marginTop: '10px'}}>Test link</a> (Result: Only margin-top: 10px is applied) EDIT: For future reference, as I see this page still gets some views: I really tried using multiple vendor-specific display CSS attributes, and not