AIdeaText commited on
Commit
0aa6c9e
·
verified ·
1 Parent(s): 1de34ff

Update modules/studentact/current_situation_interface.py

Browse files
modules/studentact/current_situation_interface.py CHANGED
@@ -101,12 +101,21 @@ def display_current_situation_interface(lang_code, nlp_models, t):
101
  # Container principal con dos columnas
102
  with st.container():
103
  input_col, results_col = st.columns([1,2])
104
-
 
 
 
 
 
 
 
 
 
105
  with input_col:
106
  # Text area con manejo de estado - usando t.get directamente
107
  text_input = st.text_area(
108
  t.get('input_prompt', "Escribe o pega tu texto aquí:"),
109
- height=1200,
110
  key=f"text_area_{lang_code}", # Clave única por idioma
111
  value=st.session_state.text_input,
112
  help=t.get('help', "Este texto será analizado para darte recomendaciones personalizadas")
 
101
  # Container principal con dos columnas
102
  with st.container():
103
  input_col, results_col = st.columns([1,2])
104
+
105
+ # Primero, agregar el CSS personalizado
106
+ st.markdown("""
107
+ <style>
108
+ .stTextArea textarea {
109
+ min-height: 400px !important;
110
+ }
111
+ </style>
112
+ """, unsafe_allow_html=True)
113
+
114
  with input_col:
115
  # Text area con manejo de estado - usando t.get directamente
116
  text_input = st.text_area(
117
  t.get('input_prompt', "Escribe o pega tu texto aquí:"),
118
+ height=400,
119
  key=f"text_area_{lang_code}", # Clave única por idioma
120
  value=st.session_state.text_input,
121
  help=t.get('help', "Este texto será analizado para darte recomendaciones personalizadas")