Fix broken layout on Compose screen when replying to certain posts

Closes #115
This commit is contained in:
Shadowfacts 2020-10-24 11:34:49 -04:00
parent 62a9535394
commit b8f169d0cd
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 2 deletions

View File

@ -41,11 +41,10 @@ struct ComposeReplyView: View {
ComposeReplyContentView(status: status) { (newHeight) in
self.contentHeight = newHeight
}
.frame(height: contentHeight)
.offset(x: -4, y: -8)
.padding(.bottom, -8)
}
.frame(minHeight: 50 + 8)
.frame(height: max(50, contentHeight ?? 0) + 8)
}
.padding(.bottom, -8)
}