You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-17 17:42:41 +03:00
Fix DOM structure in RoomRecoveryReminder
Buttons (which end up as <div>s) aren't allowed inside <p>s.
This commit is contained in:
@@ -40,4 +40,5 @@ limitations under the License.
|
|||||||
|
|
||||||
.mx_RoomRecoveryReminder_secondary {
|
.mx_RoomRecoveryReminder_secondary {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -154,14 +154,14 @@ export default class RoomRecoveryReminder extends React.PureComponent {
|
|||||||
onClick={this.onSetupClick}>
|
onClick={this.onSetupClick}>
|
||||||
{setupCaption}
|
{setupCaption}
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
<p><AccessibleButton className="mx_RoomRecoveryReminder_secondary mx_linkButton"
|
<AccessibleButton className="mx_RoomRecoveryReminder_secondary mx_linkButton"
|
||||||
onClick={this.onOnNotNowClick}>
|
onClick={this.onOnNotNowClick}>
|
||||||
{ _t("Not now") }
|
{ _t("Not now") }
|
||||||
</AccessibleButton></p>
|
</AccessibleButton>
|
||||||
<p><AccessibleButton className="mx_RoomRecoveryReminder_secondary mx_linkButton"
|
<AccessibleButton className="mx_RoomRecoveryReminder_secondary mx_linkButton"
|
||||||
onClick={this.onDontAskAgainClick}>
|
onClick={this.onDontAskAgainClick}>
|
||||||
{ _t("Don't ask me again") }
|
{ _t("Don't ask me again") }
|
||||||
</AccessibleButton></p>
|
</AccessibleButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user