Message: Prevent system context menu for inline images
This commit is contained in:
parent
57d7ec1e21
commit
1f36d97607
@ -42,6 +42,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
.text-content {
|
.text-content {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
@ -84,6 +89,7 @@
|
|||||||
html[data-message-text-size="19"] & {
|
html[data-message-text-size="19"] & {
|
||||||
top: .5rem;
|
top: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-message-text-size="20"] & {
|
html[data-message-text-size="20"] & {
|
||||||
top: .5625rem;
|
top: .5625rem;
|
||||||
}
|
}
|
||||||
@ -109,6 +115,7 @@
|
|||||||
top: auto !important;
|
top: auto !important;
|
||||||
bottom: -.5rem !important;
|
bottom: -.5rem !important;
|
||||||
margin-top: -.25rem;
|
margin-top: -.25rem;
|
||||||
|
|
||||||
&:not([dir=rtl]) {
|
&:not([dir=rtl]) {
|
||||||
margin-top: -1.25rem;
|
margin-top: -1.25rem;
|
||||||
}
|
}
|
||||||
@ -127,6 +134,7 @@
|
|||||||
|
|
||||||
&:not(.custom-shape) {
|
&:not(.custom-shape) {
|
||||||
font-size: var(--message-text-size, 1rem);
|
font-size: var(--message-text-size, 1rem);
|
||||||
|
|
||||||
body.is-ios & {
|
body.is-ios & {
|
||||||
font-size: var(--message-text-size, 1.0625rem);
|
font-size: var(--message-text-size, 1.0625rem);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user