GSMEthesis commited on
Commit
ba799cb
·
verified ·
1 Parent(s): 359103f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +34 -29
app.py CHANGED
@@ -552,7 +552,11 @@ h3 {
552
  }
553
 
554
  @media (min-width: 768px) {
555
- [data-testid="stAppViewContainer"] > div > div > div > div > div > div {
 
 
 
 
556
  padding-left: 0 !important;
557
  padding-right: 0 !important;
558
  }
@@ -565,36 +569,37 @@ h3 {
565
  position: relative !important;
566
  left: -12px !important;
567
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
568
  }
569
 
570
- [data-testid="stAppViewContainer"],
571
- .stApp {
572
- overflow-y: auto !important; /* اجازه اسکرول عمودی */
573
- overflow-x: hidden !important; /* جلوگیری از اسکرول افقی */
574
- }
575
-
576
- /* اطمینان از ارتفاع صددرصدی برای stApp */
577
- .stApp {
578
- height: 100% !important;
579
- display: block !important;
580
- }
581
- [data-testid="stAppViewContainer"]::-webkit-scrollbar {
582
- width: 8px;
583
- }
584
-
585
- [data-testid="stAppViewContainer"]::-webkit-scrollbar-track {
586
- background: #f1f1f1;
587
- border-radius: 4px;
588
- }
589
-
590
- [data-testid="stAppViewContainer"]::-webkit-scrollbar-thumb {
591
- background: #6a0dad;
592
- border-radius: 4px;
593
- }
594
-
595
- [data-testid="stAppViewContainer"]::-webkit-scrollbar-thumb:hover {
596
- background: #5a0a96;
597
- }
598
  </style>
599
  """, unsafe_allow_html=True)
600
 
 
552
  }
553
 
554
  @media (min-width: 768px) {
555
+ [data-testid="stAppViewContainer"] > div,
556
+ [data-testid="stAppViewContainer"] > div > div,
557
+ [data-testid="stAppViewContainer"] > div > div > div,
558
+ [data-testid="stVerticalBlock"],
559
+ [data-testid="stHorizontalBlock"] {
560
  padding-left: 0 !important;
561
  padding-right: 0 !important;
562
  }
 
569
  position: relative !important;
570
  left: -12px !important;
571
  }
572
+
573
+ [data-testid="stAppViewContainer"],
574
+ .stApp {
575
+ overflow-y: auto !important; /* اجازه اسکرول عمودی */
576
+ overflow-x: hidden !important; /* جلوگیری از اسکرول افقی */
577
+ }
578
+
579
+ /* اطمینان از ارتفاع صددرصدی برای stApp */
580
+ .stApp {
581
+ height: 100% !important;
582
+ display: block !important;
583
+ }
584
+ [data-testid="stAppViewContainer"]::-webkit-scrollbar {
585
+ width: 8px;
586
+ }
587
+
588
+ [data-testid="stAppViewContainer"]::-webkit-scrollbar-track {
589
+ background: #f1f1f1;
590
+ border-radius: 4px;
591
+ }
592
+
593
+ [data-testid="stAppViewContainer"]::-webkit-scrollbar-thumb {
594
+ background: #6a0dad;
595
+ border-radius: 4px;
596
+ }
597
+
598
+ [data-testid="stAppViewContainer"]::-webkit-scrollbar-thumb:hover {
599
+ background: #5a0a96;
600
+ }
601
  }
602
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
603
  </style>
604
  """, unsafe_allow_html=True)
605