From ec8b3072353008f13b51deb77e3346a5b685578c Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Thu, 14 Apr 2022 18:49:41 +0530 Subject: [PATCH] fix: encryption section styles (#976) --- .../Components/Preferences/Panes/Security/Encryption.tsx | 6 +++--- app/assets/stylesheets/_sn.scss | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/Components/Preferences/Panes/Security/Encryption.tsx b/app/assets/javascripts/Components/Preferences/Panes/Security/Encryption.tsx index bdb486b1b..3f26822d1 100644 --- a/app/assets/javascripts/Components/Preferences/Panes/Security/Encryption.tsx +++ b/app/assets/javascripts/Components/Preferences/Panes/Security/Encryption.tsx @@ -16,7 +16,7 @@ const EncryptionStatusItem: FunctionComponent<{ icon: ComponentChild status: string }> = ({ icon, status }) => ( -
+
{icon}
{status}
@@ -38,12 +38,12 @@ const EncryptionEnabled: FunctionComponent<{ appState: AppState }> = observer(({ const trashIcon = return ( <> -
+
-
+
diff --git a/app/assets/stylesheets/_sn.scss b/app/assets/stylesheets/_sn.scss index e61ced799..cb77fde97 100644 --- a/app/assets/stylesheets/_sn.scss +++ b/app/assets/stylesheets/_sn.scss @@ -465,6 +465,10 @@ min-height: 1.5rem; } +.min-h-8 { + min-height: 2rem; +} + .min-h-16 { min-height: 4rem; }