|
@@ -230,9 +230,10 @@
|
|
|
}];
|
|
|
|
|
|
}else {
|
|
|
+ CGFloat msgLeft = msgModel.sendFailure ? 24 : 16;
|
|
|
[self.messageLabelBgView mas_remakeConstraints:^(MASConstraintMaker *make) {
|
|
|
make.right.equalTo(self.msgHeaderView.mas_left).offset(-10);
|
|
|
- make.left.mas_greaterThanOrEqualTo(16);
|
|
|
+ make.left.mas_greaterThanOrEqualTo(msgLeft);
|
|
|
make.top.equalTo(self.mikeLabelBgView.mas_bottom).offset(8);
|
|
|
}];
|
|
|
[self.messageLabel mas_remakeConstraints:^(MASConstraintMaker *make) {
|