moved add popup to show window
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user