Action Messages: Fix layout regression (#2628)
This commit is contained in:
parent
a956de12f0
commit
9acabf2a79
@ -198,6 +198,7 @@ const ActionMessage: FC<OwnProps & StateProps> = ({
|
|||||||
(isGift || isSuggestedAvatar) && 'centered-action',
|
(isGift || isSuggestedAvatar) && 'centered-action',
|
||||||
isContextMenuShown && 'has-menu-open',
|
isContextMenuShown && 'has-menu-open',
|
||||||
isLastInList && 'last-in-list',
|
isLastInList && 'last-in-list',
|
||||||
|
!isGift && !isSuggestedAvatar && 'in-one-row',
|
||||||
transitionClassNames,
|
transitionClassNames,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -385,6 +385,10 @@
|
|||||||
.ActionMessage {
|
.ActionMessage {
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.local-action-message,
|
||||||
|
.ActionMessage.in-one-row {
|
||||||
height: 1.5625rem;
|
height: 1.5625rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user