Bläddra i källkod

Actually fix image diff padding/border (#12381)

https://github.com/go-gitea/gitea/pull/12346 was using the wrong
selector which affected only the single image view. Use the correct
selector for image diffs. Removal of border-radius is still worth to
keep to override the global 3px on <img>.

Co-authored-by: Lauris BH <lauris@nix.lv>
tags/v1.13.0-rc1
silverwind 3 år sedan
förälder
incheckning
0dfbef5f70
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      web_src/less/_repository.less

+ 2
- 2
web_src/less/_repository.less Visa fil

@@ -440,7 +440,6 @@
}

img {
padding: 0;
border-radius: 0;
}
}
@@ -1801,7 +1800,8 @@
&.file-content {
img {
max-width: 100%;
padding: 5px 5px 0;
padding: 0;
border-radius: 0;
}
img.emoji {
padding: 0;

Laddar…
Avbryt
Spara