You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
convert attribute to class
This commit is contained in:
@@ -298,13 +298,13 @@ limitations under the License.
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_EventTile_e2eIcon[hidden] {
|
.mx_EventTile_e2eIcon.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* always override hidden attribute for blocked and warning */
|
/* always override hidden attribute for blocked and warning */
|
||||||
.mx_EventTile_e2eIcon[hidden][src="img/e2e-blocked.svg"],
|
.mx_EventTile_e2eIcon.hidden[src="img/e2e-blocked.svg"],
|
||||||
.mx_EventTile_e2eIcon[hidden][src="img/e2e-warning.svg"] {
|
.mx_EventTile_e2eIcon.hidden[src="img/e2e-warning.svg"] {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -745,7 +745,7 @@ function E2ePadlock(props) {
|
|||||||
if (SettingsStore.getValue("alwaysShowEncryptionIcons")) {
|
if (SettingsStore.getValue("alwaysShowEncryptionIcons")) {
|
||||||
return <img className="mx_EventTile_e2eIcon" {...props} />;
|
return <img className="mx_EventTile_e2eIcon" {...props} />;
|
||||||
} else {
|
} else {
|
||||||
return <img className="mx_EventTile_e2eIcon" hidden {...props} />;
|
return <img className="mx_EventTile_e2eIcon hidden" {...props} />;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user