Commit 11b435f
committed
style(client): normalize font-size across markdown children in message cells
All markdown-emitted elements inside .feed-detail.is-message now
inherit the container's font-size (16px) instead of the browser's
UA defaults. Previously:
- h1-h6 rendered at 2em/1.5em/... (huge in a feed row)
- code used 0.92em (shrunken inline)
Headings are also set inline with margin 0 so prompts like
'# Question' don't break the row flow. Added a blockquote rule
for the same reason. Other child elements fall through the
universal selector.1 parent d0c0a3c commit 11b435f
1 file changed
Lines changed: 29 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
310 | 332 | | |
311 | 333 | | |
312 | 334 | | |
313 | 335 | | |
314 | 336 | | |
315 | | - | |
316 | 337 | | |
317 | 338 | | |
318 | 339 | | |
| |||
337 | 358 | | |
338 | 359 | | |
339 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
340 | 367 | | |
341 | 368 | | |
342 | 369 | | |
| |||
0 commit comments