nanova commited on
Commit
ada8ad0
·
1 Parent(s): 9852371

update css

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -121,10 +121,23 @@ demo = gr.ChatInterface(
121
  ],
122
  type="messages",
123
  css="""
124
- .markdown pre {
125
  white-space: pre-wrap !important;
126
  word-wrap: break-word !important;
127
  overflow-wrap: break-word !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  }
129
  """
130
  )
 
121
  ],
122
  type="messages",
123
  css="""
124
+ .prose pre {
125
  white-space: pre-wrap !important;
126
  word-wrap: break-word !important;
127
  overflow-wrap: break-word !important;
128
+ max-width: 100% !important;
129
+ }
130
+ .prose code {
131
+ white-space: pre-wrap !important;
132
+ word-wrap: break-word !important;
133
+ overflow-wrap: break-word !important;
134
+ max-width: 100% !important;
135
+ }
136
+ .prose pre code {
137
+ white-space: pre-wrap !important;
138
+ word-wrap: break-word !important;
139
+ overflow-wrap: break-word !important;
140
+ max-width: 100% !important;
141
  }
142
  """
143
  )