Chae commited on
Commit
86f15b3
·
1 Parent(s): f9c3041

fix: code fonts

Browse files
Files changed (1) hide show
  1. streamlit_app.py +12 -0
streamlit_app.py CHANGED
@@ -33,6 +33,18 @@ def create_new_conversation():
33
  if not st.session_state.conversations:
34
  create_new_conversation()
35
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  pages = [
37
  st.Page(
38
  "inplace_chat.py",
 
33
  if not st.session_state.conversations:
34
  create_new_conversation()
35
 
36
+ # Fix code block font rendering - force monospace
37
+ st.markdown("""
38
+ <style>
39
+ code, pre, pre code {
40
+ font-family: 'Space Mono', monospace !important;
41
+ font-size: 0.95rem !important;
42
+ line-height: 1.4 !important;
43
+ font-weight: 400 !important;
44
+ }
45
+ </style>
46
+ """, unsafe_allow_html=True)
47
+
48
  pages = [
49
  st.Page(
50
  "inplace_chat.py",