From 31de1df62f00c0c963fe378b4ce243837bae0787 Mon Sep 17 00:00:00 2001 From: Andrew Dassonville Date: Mon, 2 Dec 2019 22:13:24 -0800 Subject: [PATCH] Display login button on all pages (#909) --- components/EditorContainer.js | 13 ------------- components/LoginButton.js | 2 +- components/Page.js | 9 +++++++++ 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/components/EditorContainer.js b/components/EditorContainer.js index 04571cf..cd8f696 100644 --- a/components/EditorContainer.js +++ b/components/EditorContainer.js @@ -4,7 +4,6 @@ import { useAsyncCallback } from 'actionsack' import Editor from './Editor' import Toasts from './Toasts' -import LoginButton from './LoginButton' import { useAPI } from './ApiContext' import { useAuth } from './AuthContext' @@ -102,18 +101,6 @@ function EditorContainer(props) { return ( <> -
- - -
+
+ +
{children}
@@ -30,6 +34,11 @@ class Page extends React.Component { .main { ${flex ? COLUMN : ''} } + .login-button-container { + position: absolute; + top: 1.4rem; + right: 1rem; + } @media (min-width: 1024px) { .main { ${COLUMN};