Change comment styling

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-05 08:22:02 +01:00 committed by GitHub
parent 9db86a38f6
commit 9bd8fef6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ export default class TextualBody extends React.Component {
const pres = ReactDOM.findDOMNode(this).getElementsByTagName("pre");
if (pres.length > 0) {
for (let i = 0; i < pres.length; i++) {
/* Wrap a div around <pre> so that the copy button can be correctly positioned
* when the <pre> overflows and is scrolled horizontally. */
// Wrap a div around <pre> so that the copy button can be correctly positioned
// when the <pre> overflows and is scrolled horizontally.
const div = this._wrapInDiv(pres[i]);
this._handleCodeBlockExpansion(pres[i]);
this._addCodeExpansionButton(div, pres[i]);