Restyle the chat input box + several CSS improvements
- Remove extra spacing below the last chat message - Change the background color of code blocks in dark mode - Remove border radius from selected header bar elements - Make the chat scrollbar more discrete
This commit is contained in:
parent
cebe07f29c
commit
bdb6eb5734
4 changed files with 43 additions and 9 deletions
|
@ -22,7 +22,7 @@ def create_ui():
|
|||
|
||||
with gr.Tab('Chat', elem_id='chat-tab'):
|
||||
shared.gradio['display'] = gr.HTML(value=chat_html_wrapper({'internal': [], 'visible': []}, shared.settings['name1'], shared.settings['name2'], 'chat', 'cai-chat'))
|
||||
shared.gradio['textbox'] = gr.Textbox(label='Input', elem_id='chat-input')
|
||||
shared.gradio['textbox'] = gr.Textbox(label='', placeholder='Send a message', elem_id='chat-input')
|
||||
shared.gradio['show_controls'] = gr.Checkbox(value=shared.settings['show_controls'], label='Show controls', elem_id='show-controls')
|
||||
|
||||
with gr.Row():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue