Anusha806 commited on
Commit
1166a6c
·
1 Parent(s): 7d9515b
Files changed (1) hide show
  1. app.py +42 -14
app.py CHANGED
@@ -739,12 +739,18 @@ 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
 
750
  # #app-bg {
@@ -759,31 +765,53 @@ html, body {
759
  # padding: 24px;
760
  # }
761
 
 
 
 
 
 
 
 
 
 
 
762
  #app-bg {
763
- display: block;
764
- min-height: 100vh;
765
  background: radial-gradient(circle at center, #C2C5EF 0%, #E0E2F5 100%) !important;
766
- background-attachment: fixed;
767
- position: relative;
768
- overflow-y: auto;
769
- padding: 24px;
770
  }
771
 
772
-
773
  /* === Main Content Container === */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
774
  #main-container {
 
 
 
775
  width: 95%;
776
  max-width: 1100px;
777
- margin: 20px auto;
778
- padding: 24px;
779
  background: #ffffff;
780
  border-radius: 18px;
781
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
782
- # border: 2px solid #C2C5EF;
783
  border: 2px solid black;
 
784
  position: relative;
785
- z-index: 1;
786
- overflow: visible;
787
  }
788
 
789
  /* === Card Containers === */
 
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: hidden; /* prevent global scroll */
 
754
  }
755
 
756
  # #app-bg {
 
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%;
790
+ # max-width: 1100px;
791
+ # margin: 20px auto;
792
+ # padding: 24px;
793
+ # background: #ffffff;
794
+ # border-radius: 18px;
795
+ # box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
796
+ # # border: 2px solid #C2C5EF;
797
+ # border: 2px solid black;
798
+ # position: relative;
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 === */