mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-03 12:51:04 +02:00
fix ugly warning from nesting div tags in p tags (#8094)
might make negligible spacing changes to text buttons in MemberInfo, but not enough that i could spot them.
This commit is contained in:
parent
b8b5dd82aa
commit
22712d3091
@ -1416,7 +1416,7 @@ const BasicUserInfo: React.FC<{
|
|||||||
|
|
||||||
let editDevices;
|
let editDevices;
|
||||||
if (member.userId == cli.getUserId()) {
|
if (member.userId == cli.getUserId()) {
|
||||||
editDevices = (<p>
|
editDevices = (<div>
|
||||||
<AccessibleButton
|
<AccessibleButton
|
||||||
className="mx_UserInfo_field"
|
className="mx_UserInfo_field"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@ -1428,7 +1428,7 @@ const BasicUserInfo: React.FC<{
|
|||||||
>
|
>
|
||||||
{ _t("Edit devices") }
|
{ _t("Edit devices") }
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
</p>);
|
</div>);
|
||||||
}
|
}
|
||||||
|
|
||||||
const securitySection = (
|
const securitySection = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user