Spaces:
Sleeping
Sleeping
Update src/App.css
Browse files- src/App.css +46 -0
src/App.css
CHANGED
|
@@ -160,3 +160,49 @@ body, html, #root {
|
|
| 160 |
width: 100%;
|
| 161 |
max-width: 700px;
|
| 162 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
width: 100%;
|
| 161 |
max-width: 700px;
|
| 162 |
}
|
| 163 |
+
|
| 164 |
+
/* Better formatting for Markdown content inside bubbles */
|
| 165 |
+
.message .bubble p {
|
| 166 |
+
margin: 0.35rem 0;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
.message .bubble h1,
|
| 170 |
+
.message .bubble h2,
|
| 171 |
+
.message .bubble h3,
|
| 172 |
+
.message .bubble h4 {
|
| 173 |
+
margin: 0.6rem 0 0.35rem;
|
| 174 |
+
font-weight: 600;
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
.message .bubble ul,
|
| 178 |
+
.message .bubble ol {
|
| 179 |
+
margin: 0.35rem 0 0.35rem 1.25rem;
|
| 180 |
+
padding-left: 0.75rem;
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
.message .bubble li {
|
| 184 |
+
margin: 0.15rem 0;
|
| 185 |
+
}
|
| 186 |
+
|
| 187 |
+
.message .bubble code {
|
| 188 |
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
| 189 |
+
"Liberation Mono", "Courier New", monospace;
|
| 190 |
+
font-size: 0.95em;
|
| 191 |
+
padding: 0.1rem 0.25rem;
|
| 192 |
+
background: rgba(0, 0, 0, 0.3);
|
| 193 |
+
border-radius: 4px;
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
.message .bubble pre {
|
| 197 |
+
margin: 0.5rem 0;
|
| 198 |
+
padding: 0.75rem;
|
| 199 |
+
background: rgba(0, 0, 0, 0.45);
|
| 200 |
+
border-radius: 6px;
|
| 201 |
+
overflow-x: auto;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
.message .bubble pre code {
|
| 205 |
+
padding: 0;
|
| 206 |
+
background: transparent;
|
| 207 |
+
}
|
| 208 |
+
|