mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 22:25:36 +00:00
Change comment styling
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
@@ -96,8 +96,8 @@ export default class TextualBody extends React.Component {
|
|||||||
const pres = ReactDOM.findDOMNode(this).getElementsByTagName("pre");
|
const pres = ReactDOM.findDOMNode(this).getElementsByTagName("pre");
|
||||||
if (pres.length > 0) {
|
if (pres.length > 0) {
|
||||||
for (let i = 0; i < pres.length; i++) {
|
for (let i = 0; i < pres.length; i++) {
|
||||||
/* Wrap a div around <pre> so that the copy button can be correctly positioned
|
// Wrap a div around <pre> so that the copy button can be correctly positioned
|
||||||
* when the <pre> overflows and is scrolled horizontally. */
|
// when the <pre> overflows and is scrolled horizontally.
|
||||||
const div = this._wrapInDiv(pres[i]);
|
const div = this._wrapInDiv(pres[i]);
|
||||||
this._handleCodeBlockExpansion(pres[i]);
|
this._handleCodeBlockExpansion(pres[i]);
|
||||||
this._addCodeExpansionButton(div, pres[i]);
|
this._addCodeExpansionButton(div, pres[i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user