]> source.dussan.org Git - gitea.git/commit
Fix sticky diff header background (#27697)
authorsilverwind <me@silverwind.io>
Fri, 20 Oct 2023 14:56:19 +0000 (16:56 +0200)
committerGitHub <noreply@github.com>
Fri, 20 Oct 2023 14:56:19 +0000 (14:56 +0000)
commit4539a7b0b4fc6539d67ab386eaac4b9aea82bf53
tree2c46112a6fc0764f85ae290116a5b71d995f66f0
parent881806a50ba4e3bb761245b2b590046eb1423b95
Fix sticky diff header background (#27697)

Fixes: https://github.com/go-gitea/gitea/issues/27604
Add negative margins so the header covers any shadow of active elements.
No rendering change of the content of the header because the padding
counteracts the effect.

<img width="128" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/3d0f55b6-9351-4985-a290-da9a92d15b4e">
web_src/css/repo.css