I want the "See Also" section of Wikipedia to be placed at the top, so I add the following style via Stylus.
https://en.wikipedia.org/wiki/Windows_Notepad
.mw-parser-output {
display: flex;
flex-direction: column;
> section[aria-labelledby="See_also"] {
order: -1;
}
}
It works, but I find that this brings another issue: the second section element does not wrap around the floated element, leaving some blank space with no content. Is there any way to make it wrap around the floated element? Or are there other CSS methods that can achieve my goal? https://i.sstatic.net/iV1lTt9j.png