krogoldAI commited on
Commit
8f15027
·
verified ·
1 Parent(s): 63f7b40

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -2
README.md CHANGED
@@ -248,6 +248,12 @@ body {
248
  background-color: #FDEFDF !important;
249
  }
250
 
 
 
 
 
 
 
251
  /* TO CHANGE THE FONT */
252
  @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;1,600&display=swap');
253
 
@@ -298,7 +304,6 @@ button.sm.secondary.svelte-cmf5ev:hover {
298
  border-radius: 6px !important; /* Adjust this value as needed */
299
  overflow: hidden !important; /* This ensures the content doesn't spill out of the rounded corners */
300
  }
301
-
302
  .gradio-container .styler.svelte-iyf88w,
303
  button.sm.secondary.svelte-cmf5ev > div {
304
  border-radius: 8px !important; /* Slightly smaller than the outer border radius */
@@ -310,7 +315,9 @@ button.sm.secondary.svelte-cmf5ev > div {
310
  .gradio-container .bubble-wrap.svelte-1e1jlin {
311
  border: 1.5px solid #F7D9DA !important;
312
  border-radius: 8px !important; /* Adjust this value as needed */
313
- overflow: hidden !important; /* This ensures the content doesn't spill out of the rounded corners */
 
 
314
  }
315
  .gradio-container .bubble-wrap.svelte-1e1jlin > div {
316
  border-radius: 10px !important; /* Slightly smaller than the outer border radius */
 
248
  background-color: #FDEFDF !important;
249
  }
250
 
251
+ /* TO HAVE A SCROLLBAR INSIDE THE CHATBOX */
252
+ .gradio-container .chatbox {
253
+ overflow-y: auto;
254
+ max-height: 500px; /* Adjust this value as needed */
255
+ }
256
+
257
  /* TO CHANGE THE FONT */
258
  @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;1,600&display=swap');
259
 
 
304
  border-radius: 6px !important; /* Adjust this value as needed */
305
  overflow: hidden !important; /* This ensures the content doesn't spill out of the rounded corners */
306
  }
 
307
  .gradio-container .styler.svelte-iyf88w,
308
  button.sm.secondary.svelte-cmf5ev > div {
309
  border-radius: 8px !important; /* Slightly smaller than the outer border radius */
 
315
  .gradio-container .bubble-wrap.svelte-1e1jlin {
316
  border: 1.5px solid #F7D9DA !important;
317
  border-radius: 8px !important; /* Adjust this value as needed */
318
+ /* overflow: hidden !important; /* This ensures the content doesn't spill out of the rounded corners */ */
319
+ overflow-y: auto !important; /* Enable vertical scrolling */
320
+ max-height: 500px; /* Set a maximum height for the chat container */
321
  }
322
  .gradio-container .bubble-wrap.svelte-1e1jlin > div {
323
  border-radius: 10px !important; /* Slightly smaller than the outer border radius */