Device manager - label devices as inactive (PSG-638) (#9175)

* filter devices by security recommendation

* display inactive status on device tile

* unify DeviceSecurityVariation type, add correct icon to inactive ui

* tidy

* avoid dead code warning
This commit is contained in:
Kerry 2022-08-11 23:39:38 +02:00 committed by GitHub
parent d21498de94
commit 4a5ed2f899
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 189 additions and 25 deletions

View file

@ -18,7 +18,6 @@ limitations under the License.
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
}
@ -27,15 +26,21 @@ limitations under the License.
}
.mx_DeviceTile_metadata {
margin-top: 2px;
margin-top: $spacing-4;
font-size: $font-12px;
color: $secondary-content;
line-height: $font-14px;
}
.mx_DeviceTile_inactiveIcon {
height: 14px;
margin-right: $spacing-8;
vertical-align: middle;
}
.mx_DeviceTile_actions {
display: grid;
grid-gap: $spacing-8;
grid-auto-flow: column;
margin-left: $spacing-8;
}