Fix "cancel follow request" button having unreadable text in web UI (#11521)
Fix #11478
This commit is contained in:
		
					parent
					
						
							
								f51c7c105f
							
						
					
				
			
			
				commit
				
					
						e823b49214
					
				
			
		
					 2 changed files with 4 additions and 1 deletions
				
			
		|  | @ -12,6 +12,7 @@ export default class Button extends React.PureComponent { | |||
|     secondary: PropTypes.bool, | ||||
|     size: PropTypes.number, | ||||
|     className: PropTypes.string, | ||||
|     title: PropTypes.string, | ||||
|     style: PropTypes.object, | ||||
|     children: PropTypes.node, | ||||
|   }; | ||||
|  | @ -54,6 +55,7 @@ export default class Button extends React.PureComponent { | |||
|         onClick={this.handleClick} | ||||
|         ref={this.setRef} | ||||
|         style={style} | ||||
|         title={this.props.title} | ||||
|       > | ||||
|         {this.props.text || this.props.children} | ||||
|       </button> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue