Anusha806 commited on
Commit
504a846
·
1 Parent(s): 1166a6c

geminicommit

Browse files
Files changed (1) hide show
  1. app.py +21 -22
app.py CHANGED
@@ -750,7 +750,8 @@ html, body {
750
  margin: 0;
751
  padding: 0;
752
  height: 100%;
753
- overflow: hidden; /* prevent global scroll */
 
754
  }
755
 
756
  # #app-bg {
@@ -764,26 +765,22 @@ html, body {
764
  # overflow-y: auto;
765
  # padding: 24px;
766
  # }
767
-
768
- # #app-bg {
769
- # display: block;
770
- # min-height: 100vh;
771
- # background: radial-gradient(circle at center, #C2C5EF 0%, #E0E2F5 100%) !important;
772
- # background-attachment: fixed;
773
- # position: relative;
774
- # overflow-y: auto;
775
- # padding: 24px;
776
- # }no difference
777
-
778
  #app-bg {
779
- height: 100vh;
780
- width: 100vw;
 
 
781
  background: radial-gradient(circle at center, #C2C5EF 0%, #E0E2F5 100%) !important;
782
- display: block;
783
- overflow: hidden;
784
- padding: 0;
 
 
 
 
785
  }
786
 
 
787
  /* === Main Content Container === */
788
  # #main-container {
789
  # width: 95%;
@@ -799,19 +796,21 @@ html, body {
799
  # z-index: 1;
800
  # overflow: visible;
801
  # }
 
802
  #main-container {
803
- height: 100%;
804
- overflow-y: auto;
805
- padding: 24px;
806
  width: 95%;
807
  max-width: 1100px;
808
- margin: 0 auto;
 
809
  background: #ffffff;
810
  border-radius: 18px;
811
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
812
  border: 2px solid black;
813
- box-sizing: border-box;
814
  position: relative;
 
 
 
 
815
  }
816
 
817
  /* === Card Containers === */
 
750
  margin: 0;
751
  padding: 0;
752
  height: 100%;
753
+ overflow-y: auto; /* Allow vertical scrolling for the entire page */
754
+ /* Remove any `overflow: hidden;` from here if it's uncommented */
755
  }
756
 
757
  # #app-bg {
 
765
  # overflow-y: auto;
766
  # padding: 24px;
767
  # }
 
 
 
 
 
 
 
 
 
 
 
768
  #app-bg {
769
+ min-height: 100vh;
770
+ display: flex;
771
+ justify-content: center;
772
+ align-items: flex-start;
773
  background: radial-gradient(circle at center, #C2C5EF 0%, #E0E2F5 100%) !important;
774
+ background-attachment: fixed;
775
+ position: relative;
776
+ /* Keep overflow-y: auto here if you want a scrollbar specifically for the background if its content *itself* overflows,
777
+ but it might be redundant if main-container handles its own scrolling.
778
+ For this specific problem, it's less critical than main-container. */
779
+ overflow-y: auto; /* Or remove if main-container handles it completely */
780
+ padding: 24px;
781
  }
782
 
783
+
784
  /* === Main Content Container === */
785
  # #main-container {
786
  # width: 95%;
 
796
  # z-index: 1;
797
  # overflow: visible;
798
  # }
799
+
800
  #main-container {
 
 
 
801
  width: 95%;
802
  max-width: 1100px;
803
+ margin: 20px auto;
804
+ padding: 24px;
805
  background: #ffffff;
806
  border-radius: 18px;
807
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
808
  border: 2px solid black;
 
809
  position: relative;
810
+ z-index: 1;
811
+ overflow-y: auto; /* THIS IS THE MOST IMPORTANT CHANGE for this element */
812
+ /* You might also want to set a max-height on main-container if you want its scrollbar to appear
813
+ before the entire page scrolls. Example: max-height: 80vh; */
814
  }
815
 
816
  /* === Card Containers === */