mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 12:42:50 +01:00
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>
This commit is contained in:
parent
2c1ae6c82d
commit
0dfbef5f70
1 changed files with 2 additions and 2 deletions
|
@ -440,7 +440,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
padding: 0;
|
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1801,7 +1800,8 @@
|
||||||
&.file-content {
|
&.file-content {
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 5px 5px 0;
|
padding: 0;
|
||||||
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
img.emoji {
|
img.emoji {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
Loading…
Reference in a new issue