File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -54,23 +54,12 @@ $timeline-image-border-radius: 8px;
54
54
}
55
55
}
56
56
57
- .mx_MImageBody {
58
- .mx_MImageBody_thumbnail_container {
59
- border-radius : $timeline-image-border-radius ;
60
-
61
- // Necessary for the border radius to apply correctly to the placeholder
62
- overflow : hidden ;
63
- contain : paint;
64
-
65
- // Override inline max-width value to avoid overflow
66
- max-width : 100% !important ;
57
+ .mx_MImageBody_thumbnail_container {
58
+ border-radius : $timeline-image-border-radius ;
67
59
68
- .mx_MImageBody_thumbnail {
69
- // Apply the border radius to an image directly.
70
- // This is necessary for images smaller than the placeholder.
71
- border-radius : $timeline-image-border-radius ;
72
- }
73
- }
60
+ // Necessary for the border radius to apply correctly to the placeholder
61
+ overflow : hidden ;
62
+ contain : paint;
74
63
}
75
64
76
65
.mx_MImageBody_thumbnail {
You can’t perform that action at this time.
0 commit comments