mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-30 04:39:00 +01:00
Message: Reduce margins between messages on mobile (#1683)
This commit is contained in:
parent
c6672612bf
commit
80fb334d3d
@ -238,6 +238,11 @@
|
||||
opacity: 1;
|
||||
transition: opacity .3s ease;
|
||||
|
||||
@media (max-width: 600px) {
|
||||
margin-top: .5rem;
|
||||
margin-bottom: .75rem;
|
||||
}
|
||||
|
||||
body:not(.is-scrolling-messages) &.stuck {
|
||||
opacity: 0;
|
||||
|
||||
|
@ -24,6 +24,9 @@
|
||||
@media (min-width: 1921px) {
|
||||
--max-width: calc(30vw - 1rem);
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
margin-bottom: .3125rem;
|
||||
}
|
||||
|
||||
&.is-swiped {
|
||||
transform: translateX(-2.5rem) !important;
|
||||
@ -93,6 +96,9 @@
|
||||
|
||||
&.last-in-group {
|
||||
margin-bottom: 0.625rem;
|
||||
@media (max-width: 600px) {
|
||||
margin-bottom: .4375rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.last-in-list {
|
||||
|
@ -482,7 +482,7 @@
|
||||
&.is-reply .media-inner,
|
||||
&.force-sender-name .Album,
|
||||
&.is-reply .Album,
|
||||
.message-title ~ .media-inner {
|
||||
.message-title ~ .media-inner:not(.RoundVideo) {
|
||||
margin-top: 0.375rem;
|
||||
margin-bottom: -0.375rem;
|
||||
|
||||
@ -688,6 +688,9 @@
|
||||
font-size: 4rem;
|
||||
margin-top: .5rem;
|
||||
min-width: 10rem;
|
||||
@media (max-width: 600px) {
|
||||
margin-top: .375rem;
|
||||
}
|
||||
|
||||
&.has-comments {
|
||||
margin-top: 1.25rem;
|
||||
|
Loading…
Reference in New Issue
Block a user