diff --git a/Session/Conversations/Message Cells/Content Views/ReactionContainerView.swift b/Session/Conversations/Message Cells/Content Views/ReactionContainerView.swift index 583142633..94f52b6d5 100644 --- a/Session/Conversations/Message Cells/Content Views/ReactionContainerView.swift +++ b/Session/Conversations/Message Cells/Content Views/ReactionContainerView.swift @@ -102,7 +102,10 @@ final class ReactionContainerView: UIView { private func setUpViewHierarchy() { addSubview(mainStackView) - mainStackView.pin(to: self) + mainStackView.pin(.top, to: .top, of: self) + mainStackView.pin(.leading, to: .leading, of: self) + mainStackView.pin(.trailing, to: .trailing, of: self) + mainStackView.pin(.bottom, to: .bottom, of: self, withInset: -Values.verySmallSpacing) reactionContainerView.set(.width, to: .width, of: mainStackView) } diff --git a/Session/Conversations/Message Cells/VisibleMessageCell.swift b/Session/Conversations/Message Cells/VisibleMessageCell.swift index 6e95a5bb0..cfc1d87db 100644 --- a/Session/Conversations/Message Cells/VisibleMessageCell.swift +++ b/Session/Conversations/Message Cells/VisibleMessageCell.swift @@ -230,7 +230,7 @@ final class VisibleMessageCell: MessageCell, TappableLabelDelegate { // Under bubble content addSubview(underBubbleStackView) - underBubbleStackView.pin(.top, to: .bottom, of: snContentView, withInset: 5) + underBubbleStackView.pin(.top, to: .bottom, of: snContentView, withInset: Values.verySmallSpacing) underBubbleStackView.pin(.bottom, to: .bottom, of: self) underBubbleStackView.addArrangedSubview(reactionContainerView)