Skip to content

Commit 0dfbef5

Browse files
silverwindlafriks
andauthored
Actually fix image diff padding/border (#12381)
#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 <[email protected]>
1 parent 2c1ae6c commit 0dfbef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web_src/less/_repository.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@
440440
}
441441

442442
img {
443-
padding: 0;
444443
border-radius: 0;
445444
}
446445
}
@@ -1801,7 +1800,8 @@
18011800
&.file-content {
18021801
img {
18031802
max-width: 100%;
1804-
padding: 5px 5px 0;
1803+
padding: 0;
1804+
border-radius: 0;
18051805
}
18061806
img.emoji {
18071807
padding: 0;

0 commit comments

Comments
 (0)