Do not switch to italic for status media buttons
This commit is contained in:
		
							parent
							
								
									22ad8c89b2
								
							
						
					
					
						commit
						fea727c61a
					
				
					 2 changed files with 25 additions and 21 deletions
				
			
		| 
						 | 
					@ -213,6 +213,7 @@ export default class StatusContent extends React.PureComponent {
 | 
				
			||||||
              style={directionStyle}
 | 
					              style={directionStyle}
 | 
				
			||||||
              tabIndex={!hidden ? 0 : null}
 | 
					              tabIndex={!hidden ? 0 : null}
 | 
				
			||||||
              dangerouslySetInnerHTML={content}
 | 
					              dangerouslySetInnerHTML={content}
 | 
				
			||||||
 | 
					              className='status__text'
 | 
				
			||||||
              lang={status.get('language')}
 | 
					              lang={status.get('language')}
 | 
				
			||||||
            />
 | 
					            />
 | 
				
			||||||
            {media}
 | 
					            {media}
 | 
				
			||||||
| 
						 | 
					@ -233,6 +234,7 @@ export default class StatusContent extends React.PureComponent {
 | 
				
			||||||
            ref={this.setRef}
 | 
					            ref={this.setRef}
 | 
				
			||||||
            dangerouslySetInnerHTML={content}
 | 
					            dangerouslySetInnerHTML={content}
 | 
				
			||||||
            lang={status.get('language')}
 | 
					            lang={status.get('language')}
 | 
				
			||||||
 | 
					            className='status__text'
 | 
				
			||||||
            tabIndex='0'
 | 
					            tabIndex='0'
 | 
				
			||||||
          />
 | 
					          />
 | 
				
			||||||
          {media}
 | 
					          {media}
 | 
				
			||||||
| 
						 | 
					@ -245,7 +247,7 @@ export default class StatusContent extends React.PureComponent {
 | 
				
			||||||
          style={directionStyle}
 | 
					          style={directionStyle}
 | 
				
			||||||
          tabIndex='0'
 | 
					          tabIndex='0'
 | 
				
			||||||
        >
 | 
					        >
 | 
				
			||||||
          <div ref={this.setRef} dangerouslySetInnerHTML={content} lang={status.get('language')} tabIndex='0' />
 | 
					          <div ref={this.setRef} className='status__text' dangerouslySetInnerHTML={content} lang={status.get('language')} tabIndex='0' />
 | 
				
			||||||
          {media}
 | 
					          {media}
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,6 +31,7 @@
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  .status__text {
 | 
				
			||||||
    h1, h2, h3, h4, h5 {
 | 
					    h1, h2, h3, h4, h5 {
 | 
				
			||||||
      margin-top: 20px;
 | 
					      margin-top: 20px;
 | 
				
			||||||
      margin-bottom: 20px;
 | 
					      margin-bottom: 20px;
 | 
				
			||||||
| 
						 | 
					@ -57,6 +58,7 @@
 | 
				
			||||||
    em, i {
 | 
					    em, i {
 | 
				
			||||||
      font-style: italic;
 | 
					      font-style: italic;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  a {
 | 
					  a {
 | 
				
			||||||
    color: $secondary-text-color;
 | 
					    color: $secondary-text-color;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue