mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Adjust layout
This commit is contained in:
parent
8b77eb7c81
commit
abbd5aef9d
2 changed files with 2 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ func spacingBetweenBlocks(upper: InstantPageBlock?, lower: InstantPageBlock?, fi
|
|||
}
|
||||
} else if let lower {
|
||||
switch lower {
|
||||
case .cover, .channelBanner, .details, .anchor:
|
||||
case .cover, .channelBanner, .details, .anchor, .table:
|
||||
return 0.0
|
||||
default:
|
||||
if fitToWidth {
|
||||
|
|
|
|||
|
|
@ -634,6 +634,7 @@ public class ChatMessageRichDataBubbleContentNode: ChatMessageBubbleContentNode
|
|||
self.item = item
|
||||
|
||||
animation.animator.updateFrame(layer: self.containerNode.layer, frame: CGRect(origin: CGPoint(x: 1.0, y: 1.0), size: CGSize(width: boundingWidth - 2.0, height: boundingSize.height)), completion: nil)
|
||||
self.containerNode.cornerRadius = layoutConstants.image.defaultCornerRadius
|
||||
|
||||
if let statusSizeAndApply {
|
||||
// Match TextBubble: anchor the status node's x at the fixed text-block
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue