Message: Bigger border-radius on iOS

This commit is contained in:
Alexander Zinchuk 2021-10-08 16:17:16 +03:00
parent 32876df6a3
commit ca1b8a2620
4 changed files with 26 additions and 1 deletions

View File

@ -140,6 +140,12 @@
}
}
body.is-ios & {
.voice-duration.unread::after {
margin-bottom: .4375rem;
}
}
&:not(.own) .voice-duration span {
color: var(--color-primary);
}

View File

@ -23,6 +23,12 @@
margin-inline-end: .1875rem;
}
body.is-ios & {
.message-time {
margin-inline-end: .25rem;
}
}
.message-views {
margin-inline-start: .1875rem;
}
@ -48,7 +54,7 @@
.media:not(.text) &,
.Message .custom-shape & {
background: rgba(0,0,0, 0.2);
background: rgba(0, 0, 0, 0.2);
--color-accent-own: white;
--color-accent: white;
color: white !important;

View File

@ -253,6 +253,14 @@
}
}
body.is-ios &.has-solid-background {
padding-bottom: 0.4375rem;
}
body.is-ios .Message.own &.has-solid-background {
padding-left: 0.625rem;
}
&:not(.has-appendix) .svg-appendix {
display: none;
}

View File

@ -40,6 +40,11 @@ html[lang=fa] body {
}
}
body.is-ios {
--border-radius-messages: 1rem;
--border-radius-messages-small: 0.5rem;
}
body.cursor-grabbing, body.cursor-grabbing * {
cursor: grabbing !important;
}