We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a891a6 commit f3c176dCopy full SHA for f3c176d
res/css/views/messages/_MImageBody.scss
@@ -19,12 +19,12 @@ $timeline-image-border-radius: 8px;
19
20
.mx_MImageBody_banner {
21
position: absolute;
22
- bottom: 4px;
23
- left: 4px;
24
- padding: 4px;
+ bottom: $spacing-4;
+ left: $spacing-4;
+ padding: $spacing-4;
25
border-radius: $timeline-image-border-radius;
26
font-size: $font-15px;
27
-
+ user-select: none; // prevent banner text from being selected
28
pointer-events: none; // let the cursor go through to the media underneath
29
30
// Trying to match the width of the image is surprisingly difficult, so arbitrarily break it off early.
0 commit comments