mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Improve notebook mode button sizes
This commit is contained in:
parent
c4f4f41389
commit
2d766d2e19
@ -107,3 +107,7 @@ footer {
|
||||
button {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
.small-button {
|
||||
max-width: 171px;
|
||||
}
|
||||
|
13
server.py
13
server.py
@ -615,15 +615,10 @@ def create_interface():
|
||||
shared.gradio['html'] = gr.HTML()
|
||||
|
||||
with gr.Row():
|
||||
with gr.Column():
|
||||
with gr.Row():
|
||||
shared.gradio['Generate'] = gr.Button('Generate', variant='primary')
|
||||
shared.gradio['Stop'] = gr.Button('Stop')
|
||||
shared.gradio['Undo'] = gr.Button('Undo')
|
||||
shared.gradio['Regenerate'] = gr.Button('Regenerate')
|
||||
|
||||
with gr.Column():
|
||||
pass
|
||||
shared.gradio['Generate'] = gr.Button('Generate', variant='primary', elem_classes="small-button")
|
||||
shared.gradio['Stop'] = gr.Button('Stop', elem_classes="small-button")
|
||||
shared.gradio['Undo'] = gr.Button('Undo', elem_classes="small-button")
|
||||
shared.gradio['Regenerate'] = gr.Button('Regenerate', elem_classes="small-button")
|
||||
|
||||
with gr.Column(scale=1):
|
||||
gr.HTML('<div style="padding-bottom: 13px"></div>')
|
||||
|
Loading…
Reference in New Issue
Block a user