diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-04-24 18:27:44 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-04-24 22:40:17 +0200 |
commit | ef249a2718f69be4d73ee81f5e3ca523f7a45e1b (patch) | |
tree | 6dea6354eacb191c977edde8422082f3231d5f4a /app | |
parent | adbb174c9cecc53bf26b46f4e0cc3c5ce4ebf987 (diff) |
Rename status__text to status__content__text for consistency with upstream
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/components/status_content.js | 6 | ||||
-rw-r--r-- | app/javascript/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 fc11b8091..07a0d1d5d 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' > - <div ref={this.setRef} className='status__text' dangerouslySetInnerHTML={content} lang={status.get('language')} tabIndex='0' /> + <div ref={this.setRef} className='status__content__text' dangerouslySetInnerHTML={content} lang={status.get('language')} tabIndex='0' /> {media} </div> ); diff --git a/app/javascript/flavours/glitch/styles/components/status.scss b/app/javascript/flavours/glitch/styles/components/status.scss index c09e3398d..9fe3aa349 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; |