Rename status__text to status__content__text for consistency with upstream

master
Thibaut Girka 6 years ago committed by ThibG
parent adbb174c9c
commit ef249a2718
  1. 6
      app/javascript/flavours/glitch/components/status_content.js
  2. 2
      app/javascript/flavours/glitch/styles/components/status.scss

@ -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>
);

@ -31,7 +31,7 @@
}
}
.status__text {
.status__content__text {
h1, h2, h3, h4, h5 {
margin-top: 20px;
margin-bottom: 20px;

Loading…
Cancel
Save