gitea
gitea copied to clipboard
Fixes #20625 - Puts wiki header links on the right
Moves header links to the right hand side of the text.
Before:
After:
Fixes #20625
I think we want to keep them on the left and we should instead make more space in the box instead, e.g. make the wiki content box render with same/similar horizontal padding as the markdown content box.
I think we want to keep them on the left and we should instead make more space in the box instead, e.g. make the wiki content box render with same/similar horizontal padding as the markdown content box.
Would also work yeah!
I was nervous of approaches that made the render area smaller - it already feels a little cramped with the inclusion of the ToC.
Yes, area is a bit smaller then on README for example, but there's no hard requirement on how wide a markdown rendering area has to be, so we should strive to get README and wiki rendering to look and feel similar.
Fair enough. I was slightly surprised that the README and Wiki don't use a shared markdown component.
Fair enough. I was slightly surprised that the README and Wiki don't use a shared markdown component.
That would actually be a very good refactor for later.
https://github.com/go-gitea/gitea/pull/23750 includes a fix that adds more padding while keeping the link on left.