moved add popup to show window
All checks were successful
/ Quality Check (push) Successful in 1m31s
/ Build (push) Successful in 1m21s

This commit is contained in:
Phani Pavan K
2025-10-13 15:32:55 +05:30
parent db1aad13f5
commit d4d2c5e3eb

View File

@@ -82,7 +82,7 @@ pub fn ui(frame: &mut Frame, app: &AppState) {
.title("Add an entry")
.borders(Borders::NONE)
.style(Style::default().bg(Color::DarkGray));
let area = centered_rect(60, 25, frame.area());
let area = centered_rect(60, 25, titleBodyChunks[1]);
frame.render_widget(popup, area);
let fields = Layout::default()