Message: Layout fixes for documents and forwarded web pages (#1228)

This commit is contained in:
Alexander Zinchuk 2021-07-02 11:37:04 +03:00
parent b003fc0a2d
commit 52fb063d8b
2 changed files with 12 additions and 2 deletions

View File

@ -75,7 +75,8 @@
content: '';
display: inline-block;
width: var(--meta-safe-area-size);
height: 0.5rem;
height: 0.75rem;
float: right;
}
}
}

View File

@ -72,6 +72,10 @@
position: relative;
top: auto;
bottom: -.5rem !important;
margin-top: -.25rem;
&:not([dir=rtl]) {
margin-top: -1.25rem;
}
}
}
@ -248,7 +252,7 @@
}
.File + .text-content {
margin-top: .313rem;
margin-top: .3125rem;
}
}
@ -587,6 +591,11 @@
}
.forwarded-message {
.message-content.poll & {
// MessageOutgoingStatus's icon needs more space
margin-bottom: 0.5rem;
}
.message-content:not(.custom-shape) & {
position: relative;
margin-top: 0.25rem;