CarlyneB commited on
Commit
4589936
Β·
1 Parent(s): 27be152

[FIX] Padding alert

Browse files
Files changed (2) hide show
  1. assets/styles.css +12 -3
  2. tabs/tab4_optimization.py +1 -1
assets/styles.css CHANGED
@@ -187,6 +187,15 @@ h1.custom-title {
187
  line-height: 1.5;
188
  letter-spacing: 0.01em;
189
  padding-left: 1rem;
 
 
 
 
 
 
 
 
 
190
  }
191
 
192
  /* Special warning box (tab1) */
@@ -363,9 +372,9 @@ h1.custom-title {
363
  }
364
 
365
  /* Default secondary Streamlit button */
366
- [data-testid="stBaseButton-secondary"] {
367
- border-radius: 0px;
368
- }
369
 
370
  /* ── 10. Form elements ──────────────────────────────────────── */
371
 
 
187
  line-height: 1.5;
188
  letter-spacing: 0.01em;
189
  padding-left: 1rem;
190
+ padding-right: 1rem;
191
+ }
192
+ [data-testid="stAlert"] ul {
193
+ font-style: italic;
194
+ font-size: 0.95rem;
195
+ line-height: 1.5;
196
+ letter-spacing: 0.01em;
197
+ padding-left: 1rem;
198
+ padding-right: 1rem;
199
  }
200
 
201
  /* Special warning box (tab1) */
 
372
  }
373
 
374
  /* Default secondary Streamlit button */
375
+ /* [data-testid="stBaseButton-secondary"] {
376
+ border-radius: 3px;
377
+ } */
378
 
379
  /* ── 10. Form elements ──────────────────────────────────────── */
380
 
tabs/tab4_optimization.py CHANGED
@@ -61,7 +61,7 @@ def panel_load_from_excel():
61
  key="download_button_input_template"
62
  )
63
 
64
- st.markdown('<p class="caption">Fill in the template with your values, then import and run.</p>', unsafe_allow_html=True)
65
 
66
  if "excel_loaded_file" in st.session_state:
67
  st.success(f"Loaded: **{st.session_state['excel_loaded_file']}** - All tabs updated.", icon="βœ…")
 
61
  key="download_button_input_template"
62
  )
63
 
64
+ st.markdown('<p class="caption">Fill in the template with your values, then import, load inputs and run.</p>', unsafe_allow_html=True)
65
 
66
  if "excel_loaded_file" in st.session_state:
67
  st.success(f"Loaded: **{st.session_state['excel_loaded_file']}** - All tabs updated.", icon="βœ…")