Skip to content

Conversation

@eddiegulay
Copy link
Contributor

This pull request resolves the "Create new Logbook" modal (myModal2) visibility issue in the Django project’s template. The modal was rendered in the DOM but hidden due to a theme-injected CSS rule setting height: 0vh, which collapsed it despite Bootstrap’s display: block. We fixed this by adding custom CSS to override the theme’s styles, setting height: 100vh !important, ensuring a visible backdrop with background-color: rgba(0, 0, 0, 0.5) !important, and enforcing opacity: 1 !important for the .show state. The fix also included verifying Bootstrap 4 dependencies (jQuery, Popper.js, and Bootstrap JS) in base.html to ensure proper modal toggling, resulting in a fully functional and visible modal.

@eddiegulay eddiegulay merged commit a5fdfa9 into main Jul 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants