diff --git a/app/assets/javascripts/components/ConfirmSignoutModal.tsx b/app/assets/javascripts/components/ConfirmSignoutModal.tsx index b432caf83..6d1b9ef8f 100644 --- a/app/assets/javascripts/components/ConfirmSignoutModal.tsx +++ b/app/assets/javascripts/components/ConfirmSignoutModal.tsx @@ -23,9 +23,7 @@ const ConfirmSignoutContainer = observer((props: Props) => { }); const ConfirmSignoutModal = observer(({ application, appState }: Props) => { - const [deleteLocalBackups, setDeleteLocalBackups] = useState( - application.hasAccount() - ); + const [deleteLocalBackups, setDeleteLocalBackups] = useState(false); const cancelRef = useRef(); function close() { diff --git a/app/assets/javascripts/components/SessionsModal.tsx b/app/assets/javascripts/components/SessionsModal.tsx index 6079e3aca..aa375505e 100644 --- a/app/assets/javascripts/components/SessionsModal.tsx +++ b/app/assets/javascripts/components/SessionsModal.tsx @@ -126,7 +126,7 @@ const SessionsModal: FunctionComponent<{ return ( <> - +
@@ -145,7 +145,7 @@ const SessionsModal: FunctionComponent<{
-
+
{refreshing ? ( <>
diff --git a/app/assets/stylesheets/_sn.scss b/app/assets/stylesheets/_sn.scss index a312819ce..ad89dd0b6 100644 --- a/app/assets/stylesheets/_sn.scss +++ b/app/assets/stylesheets/_sn.scss @@ -109,6 +109,11 @@ padding-bottom: 0.375rem; } +.py-8 { + padding-top: 2rem; + padding-bottom: 2rem; +} + .outline-none { outline: none; } @@ -254,6 +259,10 @@ height: 4.5rem; } +.h-screen { + height: 100vh; +} + .max-h-120 { max-height: 30rem; } diff --git a/app/assets/stylesheets/_tags.scss b/app/assets/stylesheets/_tags.scss index 95060e799..300d5af52 100644 --- a/app/assets/stylesheets/_tags.scss +++ b/app/assets/stylesheets/_tags.scss @@ -72,6 +72,8 @@ } > .title { + @extend .focus\:outline-none; + @extend .focus\:shadow-none; width: 80%; background-color: transparent; font-weight: 600;