Message: Fix styles in the link preview (#4599)
This commit is contained in:
parent
f45a5ff023
commit
7d2609c94f
@ -643,11 +643,6 @@
|
||||
}
|
||||
|
||||
.message-content {
|
||||
&.has-replies:not(.custom-shape):not(.has-reactions) .WebPage.with-square-photo .media-inner,
|
||||
&.has-replies:not(.custom-shape):not(.has-reactions) .WebPage.with-video .media-inner {
|
||||
margin-bottom: 1.5rem !important;
|
||||
}
|
||||
|
||||
&.has-replies:not(.custom-shape),
|
||||
&.text:not(.web-page) {
|
||||
.media-inner,
|
||||
|
||||
@ -153,7 +153,7 @@
|
||||
}
|
||||
|
||||
.message-content.has-replies.text:not(.custom-shape) & {
|
||||
bottom: 3.4375rem;
|
||||
bottom: 3.1875rem;
|
||||
}
|
||||
|
||||
&[dir="rtl"] {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
.WebPage {
|
||||
margin-top: 0.25rem;
|
||||
margin-bottom: 0.125rem;
|
||||
padding: 0.375rem;
|
||||
padding: 0.1875rem;
|
||||
font-size: calc(var(--message-text-size, 1rem) - 0.125rem);
|
||||
line-height: 1.125rem;
|
||||
max-width: 29rem;
|
||||
@ -182,7 +182,7 @@
|
||||
|
||||
.site-description {
|
||||
line-height: 1.25;
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 0.125rem;
|
||||
|
||||
body.is-ios & {
|
||||
line-height: 1.125rem;
|
||||
|
||||
@ -596,7 +596,7 @@
|
||||
// Moved below `.has-subheader` to overwrite its styles
|
||||
&.text .media-inner,
|
||||
&.text .Album {
|
||||
margin-bottom: 0.375rem;
|
||||
margin-bottom: 0.375rem !important;
|
||||
|
||||
body.is-ios .Message.own & {
|
||||
margin-bottom: 0.375rem;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user