Code blocks should not be wrapped
- Lingua principale
- TypeScript
- Stelle
- 1.8k
- Fork
- 174
- Merge medio
- 2h 32m
- PR unite (30g)
- 28
Descrizione
**Describe the bug**
Code blocks wrap, messing up formatting
**To Reproduce**
1. add code block with long lines
2. phone in portrait mode
**Expected behavior**
Code block displays as-is, adding scrollbar if it gets beyound the viewport.
**Screenshots**
**Smartphone**
- Device: Xperia 10 VI
- OS: Android 15
- App: Voyager 2.47.4
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
No files or tests are named in the report. Start in the mobile frontend code path that renders post/content markdown and find the stylesheet or component styles for `pre`/`code` blocks. Check small-viewport overflow and white-space behavior, then update it so long lines stay unwrapped and use scrolling instead. Confirm by reproducing the steps on a phone portrait viewport and ensuring code blocks remain on one horizontal line.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- css, react, typescript
- Ambito
- frontend, mobile-dev
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 66/100