Fix translate button position (#25807)
This commit is contained in:
		
							parent
							
								
									784f7fb497
								
							
						
					
					
						commit
						7ff696d848
					
				
					 3 changed files with 5 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -44,7 +44,7 @@ class TranslateButton extends PureComponent {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    return (
 | 
			
		||||
      <button className='status__content__read-more-button' onClick={onClick}>
 | 
			
		||||
      <button className='status__content__translate-button' onClick={onClick}>
 | 
			
		||||
        <FormattedMessage id='status.translate' defaultMessage='Translate' />
 | 
			
		||||
      </button>
 | 
			
		||||
    );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,7 +15,8 @@
 | 
			
		|||
.status__content a,
 | 
			
		||||
.link-footer a,
 | 
			
		||||
.reply-indicator__content a,
 | 
			
		||||
.status__content__read-more-button {
 | 
			
		||||
.status__content__read-more-button,
 | 
			
		||||
.status__content__translate-button {
 | 
			
		||||
  text-decoration: underline;
 | 
			
		||||
 | 
			
		||||
  &:hover,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -981,7 +981,8 @@ body > [data-popper-placement] {
 | 
			
		|||
  max-height: 22px * 15; // 15 lines is roughly above 500 characters
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.status__content__read-more-button {
 | 
			
		||||
.status__content__read-more-button,
 | 
			
		||||
.status__content__translate-button {
 | 
			
		||||
  display: block;
 | 
			
		||||
  font-size: 15px;
 | 
			
		||||
  line-height: 22px;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue