Docs: Formatting for code blocks nested in blockquote
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 11.8k
- Forks
- 7.9k
- Ø Merge
- 1 T. 11 Std.
- Gemergte PRs (30 T.)
- 11
Beschreibung
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Styling in docs
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:
As seen https://reactjs.org/docs/hooks-reference.html#usestate

What is the expected behavior?
Code blocks nested in block quotes should not have negative margin space.
Missing:
blockquote .gatsby-highlight {
margin-left: 0px;
}

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne auf der im Issue verlinkten Hooks-Referenzseite und untersuche die Dokumentationsstile, die .gatsby-highlight innerhalb von Blockquotes betreffen. Bestätige, dass der verschachtelte Codeblock keinen negativen Randabstand mehr aufweist, und vergleiche das gerenderte Ergebnis mit den bereitgestellten Screenshots.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- css
- Bereich
- documentation
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 52/100