DSatishchandra commited on
Commit
3f9dbcc
·
verified ·
1 Parent(s): 45f5c80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -83,6 +83,9 @@ def app():
83
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
84
  font-family: Arial, sans-serif;
85
  z-index: 1000;
 
 
 
86
  ">
87
  <div style="text-align: right;">
88
  <button onclick="closeModal()" style="
 
83
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
84
  font-family: Arial, sans-serif;
85
  z-index: 1000;
86
+ max-width: 500px; /* Limit modal width */
87
+ max-height: 80%; /* Limit modal height to prevent overflow */
88
+ overflow-y: auto; /* Allow scrolling inside the modal if content is too tall */
89
  ">
90
  <div style="text-align: right;">
91
  <button onclick="closeModal()" style="