Adjust layout

This commit is contained in:
isaac 2026-05-26 23:22:50 +02:00
parent 8b77eb7c81
commit abbd5aef9d
2 changed files with 2 additions and 1 deletions

View file

@ -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 {

View file

@ -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