Pamudu13 commited on
Commit
b9c9d9a
·
verified ·
1 Parent(s): 8d75c5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +32 -0
app.py CHANGED
@@ -602,6 +602,38 @@ with gr.Blocks(
602
  margin-top: 2rem;
603
  border: 1px solid #eee;
604
  color: #000000;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
605
  }
606
 
607
  /* Custom scrollbar */
 
602
  margin-top: 2rem;
603
  border: 1px solid #eee;
604
  color: #000000;
605
+ max-height: 400px !important; /* Fixed height */
606
+ overflow-y: auto !important; /* Enable vertical scrolling */
607
+ }
608
+
609
+ /* Style the output content */
610
+ .output-markdown p {
611
+ margin: 0.5rem 0;
612
+ line-height: 1.5;
613
+ }
614
+
615
+ .output-markdown pre {
616
+ white-space: pre-wrap;
617
+ word-wrap: break-word;
618
+ padding: 1rem;
619
+ background: #f8f8f8;
620
+ border-radius: 8px;
621
+ margin: 0.5rem 0;
622
+ }
623
+
624
+ /* Add custom scrollbar for output */
625
+ .output-markdown::-webkit-scrollbar {
626
+ width: 6px;
627
+ }
628
+
629
+ .output-markdown::-webkit-scrollbar-track {
630
+ background: #f8f8f8;
631
+ border-radius: 3px;
632
+ }
633
+
634
+ .output-markdown::-webkit-scrollbar-thumb {
635
+ background: #000000;
636
+ border-radius: 3px;
637
  }
638
 
639
  /* Custom scrollbar */