Message: Fix styles for the PDF link preview (#4636)

This commit is contained in:
Alexander Zinchuk 2024-06-12 18:10:57 +02:00
parent 3c92480ffa
commit a0ad10286d
2 changed files with 5 additions and 0 deletions

View File

@ -189,6 +189,10 @@
}
}
.File .file-preview {
margin-inline-end: 0.75rem !important;
}
@media (min-width: 1921px) {
@supports (aspect-ratio: 1) {
&:not(.in-preview) {

View File

@ -433,6 +433,7 @@
&.document {
.File {
margin-top: calc(0.5rem - 0.3125rem);
margin-bottom: calc(0.5rem - 0.3125rem);
.message-content.no-text & {
margin-bottom: calc(0.5rem - 0.375rem);