From 0941b38b5d8feb1da55671b776629eaf4a257a9f Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Fri, 15 Oct 2021 16:09:36 +0100 Subject: [PATCH] Name CryptographyPanel CSS classes consistent with style --- res/css/views/settings/_CryptographyPanel.scss | 8 ++++---- src/components/views/settings/CryptographyPanel.tsx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/res/css/views/settings/_CryptographyPanel.scss b/res/css/views/settings/_CryptographyPanel.scss index b97ca1e1d5..2290791d5d 100644 --- a/res/css/views/settings/_CryptographyPanel.scss +++ b/res/css/views/settings/_CryptographyPanel.scss @@ -1,14 +1,14 @@ -.mx_CryptographyPanel { +.mx_CryptographyPanel_sessionInfo { display: table; padding-left: 0; } -.mx_CryptographyPanel > li { +.mx_CryptographyPanel_sessionInfo > li { display: table-row; } -.mx_CryptographyPanel > li > label, -.mx_CryptographyPanel > li > span { +.mx_CryptographyPanel_sessionInfo > li > label, +.mx_CryptographyPanel_sessionInfo > li > span { display: table-cell; padding-right: 1em; } diff --git a/src/components/views/settings/CryptographyPanel.tsx b/src/components/views/settings/CryptographyPanel.tsx index a4e192aaed..1e1cb3ba68 100644 --- a/src/components/views/settings/CryptographyPanel.tsx +++ b/src/components/views/settings/CryptographyPanel.tsx @@ -72,9 +72,9 @@ export default class CryptographyPanel extends React.Component { } return ( -
+
{ _t("Cryptography") } -
    +
    • { deviceId }