Web app improvements

This commit is contained in:
Ilya Laktyushin
2022-04-06 23:34:17 +04:00
parent 63c0504806
commit 365888a991
2 changed files with 3 additions and 3 deletions

View File

@@ -676,7 +676,7 @@ public class AttachmentController: ViewController {
containerHeight = layout.size.height
}
containerRect = CGRect(origin: CGPoint(), size: CGSize(width: layout.size.width, height: containerHeight))
self.wrapperNode.cornerRadius = 0.0
self.shadowNode.alpha = 0.0
@@ -697,7 +697,7 @@ public class AttachmentController: ViewController {
if fromMenu && !hasButton, let inputContainerHeight = self.inputContainerHeight {
panelHeight = inputContainerHeight
}
if hasPanel || hasButton {
if hasPanel || hasButton || fromMenu {
containerInsets.bottom = panelHeight
}