aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-03-25 09:43:14 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-03-25 09:43:14 +0000
commit616cc13b6b82731393593f8f61d2753dd31f074d (patch)
tree9f22990bc9b9b37396a6994a14ee006517756a4e
parentbb851e84c15d6737a114c969b70b02d8a5c4b861 (diff)
downloadstable-diffusion-webui-gfx803-616cc13b6b82731393593f8f61d2753dd31f074d.tar.gz
stable-diffusion-webui-gfx803-616cc13b6b82731393593f8f61d2753dd31f074d.tar.bz2
stable-diffusion-webui-gfx803-616cc13b6b82731393593f8f61d2753dd31f074d.zip
update overflow-wrap: break-word; for gradio 3.23
-rw-r--r--modules/ui_common.py4
-rw-r--r--style.css2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/ui_common.py b/modules/ui_common.py
index 7b752b45..0f3427c8 100644
--- a/modules/ui_common.py
+++ b/modules/ui_common.py
@@ -149,7 +149,7 @@ Requested path was: {f}
download_files = gr.File(None, file_count="multiple", interactive=False, show_label=False, visible=False, elem_id=f'download_files_{tabname}')
with gr.Group():
- html_info = gr.HTML(elem_id=f'html_info_{tabname}')
+ html_info = gr.HTML(elem_id=f'html_info_{tabname}', elem_classes="infotext")
html_log = gr.HTML(elem_id=f'html_log_{tabname}')
generation_info = gr.Textbox(visible=False, elem_id=f'generation_info_{tabname}')
@@ -196,7 +196,7 @@ Requested path was: {f}
else:
html_info_x = gr.HTML(elem_id=f'html_info_x_{tabname}')
- html_info = gr.HTML(elem_id=f'html_info_{tabname}')
+ html_info = gr.HTML(elem_id=f'html_info_{tabname}', elem_classes="infotext")
html_log = gr.HTML(elem_id=f'html_log_{tabname}')
paste_field_names = []
diff --git a/style.css b/style.css
index eac5b890..0dcc3e25 100644
--- a/style.css
+++ b/style.css
@@ -295,7 +295,7 @@ div.dimensions-tools{
min-width: auto;
}
-.output-html p {
+.infotext {
overflow-wrap: break-word;
}