Fix repo view tabbing styles and prevent auto scroll on tab click
This commit is contained in:
		
							parent
							
								
									3bbd8ca898
								
							
						
					
					
						commit
						c7d02c3506
					
				
					 2 changed files with 10 additions and 7 deletions
				
			
		|  | @ -14,14 +14,18 @@ class body extends React.Component<IBody, {}> { | |||
|   } | ||||
|   render () { | ||||
|     let description: string = this.props.description; | ||||
|     if (description === "") { | ||||
|     if (description === null || description === "") { | ||||
|       description = "No Description"; | ||||
|     } | ||||
|     return( | ||||
|       <div> | ||||
|         <ul className="nav nav-tabs rp-tabs"> | ||||
|           <li className="active"><a href="#tab1" data-toggle="tab">Description</a></li> | ||||
|           <li><a href="#tab2" data-toggle="tab">Automated Builds</a></li> | ||||
|           <li className="active"> | ||||
|             <a data-target="#tab1" data-toggle="tab">Description</a> | ||||
|           </li> | ||||
|           <li> | ||||
|             <a data-target="#tab2" data-toggle="tab">Automated Builds</a> | ||||
|           </li> | ||||
|         </ul> | ||||
|           <div className="panel-body rp-panelBody"> | ||||
|               <div className="tab-content"> | ||||
|  |  | |||
		Reference in a new issue