From ef249a2718f69be4d73ee81f5e3ca523f7a45e1b Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 24 Apr 2019 18:27:44 +0200 Subject: [PATCH] Rename status__text to status__content__text for consistency with upstream --- app/javascript/flavours/glitch/components/status_content.js | 6 +++--- .../flavours/glitch/styles/components/status.scss | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/components/status_content.js b/app/javascript/flavours/glitch/components/status_content.js index fc11b80917..07a0d1d5de 100644 --- a/app/javascript/flavours/glitch/components/status_content.js +++ b/app/javascript/flavours/glitch/components/status_content.js @@ -213,7 +213,7 @@ export default class StatusContent extends React.PureComponent { style={directionStyle} tabIndex={!hidden ? 0 : null} dangerouslySetInnerHTML={content} - className='status__text' + className='status__content__text' lang={status.get('language')} /> {media} @@ -234,7 +234,7 @@ export default class StatusContent extends React.PureComponent { ref={this.setRef} dangerouslySetInnerHTML={content} lang={status.get('language')} - className='status__text' + className='status__content__text' tabIndex='0' /> {media} @@ -247,7 +247,7 @@ export default class StatusContent extends React.PureComponent { style={directionStyle} tabIndex='0' > -
+
{media}
); diff --git a/app/javascript/flavours/glitch/styles/components/status.scss b/app/javascript/flavours/glitch/styles/components/status.scss index c09e3398d3..9fe3aa3496 100644 --- a/app/javascript/flavours/glitch/styles/components/status.scss +++ b/app/javascript/flavours/glitch/styles/components/status.scss @@ -31,7 +31,7 @@ } } - .status__text { + .status__content__text { h1, h2, h3, h4, h5 { margin-top: 20px; margin-bottom: 20px;