Round Video: Fix positioning for inline bot's message (#3129)
This commit is contained in:
parent
cc8a21d051
commit
171861f0dc
@ -1199,7 +1199,7 @@ const Message: FC<OwnProps & StateProps> = ({
|
|||||||
<span className="admin-title" dir="auto">{message.forwardInfo?.postAuthorTitle}</span>
|
<span className="admin-title" dir="auto">{message.forwardInfo?.postAuthorTitle}</span>
|
||||||
) : message.postAuthorTitle && isGroup && !asForwarded ? (
|
) : message.postAuthorTitle && isGroup && !asForwarded ? (
|
||||||
<span className="admin-title" dir="auto">{message.postAuthorTitle}</span>
|
<span className="admin-title" dir="auto">{message.postAuthorTitle}</span>
|
||||||
) : senderAdminMember && !asForwarded ? (
|
) : senderAdminMember && !asForwarded && !viaBotId ? (
|
||||||
<span className="admin-title" dir="auto">
|
<span className="admin-title" dir="auto">
|
||||||
{senderAdminMember.customTitle || lang(
|
{senderAdminMember.customTitle || lang(
|
||||||
senderAdminMember.isOwner ? 'GroupInfo.LabelOwner' : 'GroupInfo.LabelAdmin',
|
senderAdminMember.isOwner ? 'GroupInfo.LabelOwner' : 'GroupInfo.LabelAdmin',
|
||||||
|
|||||||
@ -551,6 +551,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.round.is-via-bot,
|
||||||
&.round.has-subheader {
|
&.round.has-subheader {
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user