mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-21 21:01:29 +01:00
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 {
|
||||
margin: 0;
|
||||
word-break: break-word;
|
||||
@ -84,6 +89,7 @@
|
||||
html[data-message-text-size="19"] & {
|
||||
top: .5rem;
|
||||
}
|
||||
|
||||
html[data-message-text-size="20"] & {
|
||||
top: .5625rem;
|
||||
}
|
||||
@ -109,6 +115,7 @@
|
||||
top: auto !important;
|
||||
bottom: -.5rem !important;
|
||||
margin-top: -.25rem;
|
||||
|
||||
&:not([dir=rtl]) {
|
||||
margin-top: -1.25rem;
|
||||
}
|
||||
@ -127,6 +134,7 @@
|
||||
|
||||
&:not(.custom-shape) {
|
||||
font-size: var(--message-text-size, 1rem);
|
||||
|
||||
body.is-ios & {
|
||||
font-size: var(--message-text-size, 1.0625rem);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user