Fix DOM structure in RoomRecoveryReminder
Buttons (which end up as <div>s) aren't allowed inside <p>s.pull/21833/head
							parent
							
								
									d5a82a5fc2
								
							
						
					
					
						commit
						4211ec5063
					
				|  | @ -40,4 +40,5 @@ limitations under the License. | |||
| 
 | ||||
| .mx_RoomRecoveryReminder_secondary { | ||||
|     font-size: 90%; | ||||
|     margin-top: 1em; | ||||
| } | ||||
|  |  | |||
|  | @ -154,14 +154,14 @@ export default class RoomRecoveryReminder extends React.PureComponent { | |||
|                         onClick={this.onSetupClick}> | ||||
|                         {setupCaption} | ||||
|                     </AccessibleButton> | ||||
|                     <p><AccessibleButton className="mx_RoomRecoveryReminder_secondary mx_linkButton" | ||||
|                     <AccessibleButton className="mx_RoomRecoveryReminder_secondary mx_linkButton" | ||||
|                         onClick={this.onOnNotNowClick}> | ||||
|                         { _t("Not now") } | ||||
|                     </AccessibleButton></p> | ||||
|                     <p><AccessibleButton className="mx_RoomRecoveryReminder_secondary mx_linkButton" | ||||
|                     </AccessibleButton> | ||||
|                     <AccessibleButton className="mx_RoomRecoveryReminder_secondary mx_linkButton" | ||||
|                         onClick={this.onDontAskAgainClick}> | ||||
|                         { _t("Don't ask me again") } | ||||
|                     </AccessibleButton></p> | ||||
|                     </AccessibleButton> | ||||
|                 </div> | ||||
|             </div> | ||||
|         ); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 J. Ryan Stinnett
						J. Ryan Stinnett