mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Add a border
This commit is contained in:
parent
416e8f4758
commit
94dc64f870
@ -502,10 +502,13 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||||||
border-radius: 0px !important;
|
border-radius: 0px !important;
|
||||||
justify-content: left;
|
justify-content: left;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hover-menu button:not(#clear-history-confirm) {
|
||||||
border-bottom: 0 !important;
|
border-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hover-menu button:last-child {
|
.hover-menu button:not(#clear-history-confirm):last-child {
|
||||||
border-bottom: var(--button-border-width) solid var(--button-secondary-border-color) !important;
|
border-bottom: var(--button-border-width) solid var(--button-secondary-border-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ def create_ui():
|
|||||||
shared.gradio['Send dummy reply'] = gr.Button('Send dummy reply')
|
shared.gradio['Send dummy reply'] = gr.Button('Send dummy reply')
|
||||||
shared.gradio['Clear history'] = gr.Button('Clear history')
|
shared.gradio['Clear history'] = gr.Button('Clear history')
|
||||||
shared.gradio['Clear history-cancel'] = gr.Button('Cancel', visible=False)
|
shared.gradio['Clear history-cancel'] = gr.Button('Cancel', visible=False)
|
||||||
shared.gradio['Clear history-confirm'] = gr.Button('Confirm', variant='stop', visible=False)
|
shared.gradio['Clear history-confirm'] = gr.Button('Confirm', variant='stop', visible=False, elem_id='clear-history-confirm')
|
||||||
shared.gradio['send-chat-to-default'] = gr.Button('Send to default')
|
shared.gradio['send-chat-to-default'] = gr.Button('Send to default')
|
||||||
shared.gradio['send-chat-to-notebook'] = gr.Button('Send to notebook')
|
shared.gradio['send-chat-to-notebook'] = gr.Button('Send to notebook')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user