Anusha806 commited on
Commit
7dcd8b6
·
1 Parent(s): 504a846

commit blackbox

Browse files
Files changed (1) hide show
  1. app.py +9 -20
app.py CHANGED
@@ -739,21 +739,14 @@ def handle_voice_search(vf_path, a, offset, gender_ui):
739
 
740
  custom_css = """
741
  /* === Background Styling === */
742
- # html, body {
743
- # margin: 0;
744
- # padding: 0;
745
- # height: 100%;
746
- # # overflow: hidden;
747
- # overflow: auto;
748
- # }
749
  html, body {
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 {
758
  # min-height: 100vh;
759
  # display: flex;
@@ -765,22 +758,19 @@ html, body {
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%;
@@ -808,11 +798,10 @@ html, body {
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 === */
817
  .gr-box, .gr-block, .gr-column, .gr-row, .gr-tab {
818
  background-color: #C2C5EF !important;
 
739
 
740
  custom_css = """
741
  /* === Background Styling === */
 
 
 
 
 
 
 
742
  html, body {
743
  margin: 0;
744
  padding: 0;
745
  height: 100%;
746
+ overflow: auto;
 
747
  }
748
 
749
+
750
  # #app-bg {
751
  # min-height: 100vh;
752
  # display: flex;
 
758
  # overflow-y: auto;
759
  # padding: 24px;
760
  # }
761
+
762
  #app-bg {
763
+ height: auto; /* Allow height to grow with content */
764
  display: flex;
765
+ flex-direction: column; /* Ensure content stacks vertically */
766
+ justify-content: flex-start; /* Align items to the start */
767
  background: radial-gradient(circle at center, #C2C5EF 0%, #E0E2F5 100%) !important;
 
768
  position: relative;
 
 
 
 
769
  padding: 24px;
770
  }
771
 
772
 
773
+
774
  /* === Main Content Container === */
775
  # #main-container {
776
  # width: 95%;
 
798
  border: 2px solid black;
799
  position: relative;
800
  z-index: 1;
801
+ overflow: visible; /* Allow overflow to be visible */
 
 
802
  }
803
 
804
+
805
  /* === Card Containers === */
806
  .gr-box, .gr-block, .gr-column, .gr-row, .gr-tab {
807
  background-color: #C2C5EF !important;