mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-15 06:21:34 +03:00
Added default height value to the text are for the prompt on most tabs, this should help with it having the proper height, we still need to change min-height through CSS so it might still break sometimes.
This commit is contained in:
parent
4ff1bfa691
commit
c93684ca01
@ -371,7 +371,7 @@ def layout():
|
||||
with img2img_input_col:
|
||||
#prompt = st.text_area("Input Text","")
|
||||
placeholder = "A corgi wearing a top hat as an oil painting."
|
||||
prompt = st.text_area("Input Text","", placeholder=placeholder)
|
||||
prompt = st.text_area("Input Text","", placeholder=placeholder, height=54)
|
||||
key_phrase_suggestions.suggestion_area(placeholder)
|
||||
|
||||
# Every form must have a submit button, the extra blank spaces is a temp way to align it with the input field. Needs to be done in CSS or some other way.
|
||||
|
@ -406,7 +406,7 @@ def layout():
|
||||
with input_col1:
|
||||
#prompt = st.text_area("Input Text","")
|
||||
placeholder = "A corgi wearing a top hat as an oil painting."
|
||||
prompt = st.text_area("Input Text","", placeholder=placeholder)
|
||||
prompt = st.text_area("Input Text","", placeholder=placeholder, height=54)
|
||||
key_phrase_suggestions.suggestion_area(placeholder)
|
||||
|
||||
# creating the page layout using columns
|
||||
|
@ -642,7 +642,7 @@ def layout():
|
||||
with input_col1:
|
||||
#prompt = st.text_area("Input Text","")
|
||||
placeholder = "A corgi wearing a top hat as an oil painting."
|
||||
prompt = st.text_area("Input Text","", placeholder=placeholder)
|
||||
prompt = st.text_area("Input Text","", placeholder=placeholder, height=54)
|
||||
key_phrase_suggestions.suggestion_area(placeholder)
|
||||
|
||||
# Every form must have a submit button, the extra blank spaces is a temp way to align it with the input field. Needs to be done in CSS or some other way.
|
||||
|
Loading…
Reference in New Issue
Block a user