Get react admin sidebar working while Dane is shopping for domains

This commit is contained in:
Matthew Penner 2020-08-22 15:09:48 -06:00
parent c22ab762de
commit 6c53738070
6 changed files with 179 additions and 205 deletions

View file

@ -41,7 +41,7 @@ const ActionButton = styled(Button)`
export default ({ title, image, message, onBack, onRetry }: Props) => (
<PageContentBlock>
<div css={tw`flex justify-center`}>
<div css={tw`w-full sm:w-3/4 md:w-1/2 p-12 md:p-20 bg-neutral-100 rounded-lg shadow-lg text-center relative`}>
<div css={tw`w-full sm:w-3/4 md:w-1/2 flex flex-col items-center p-12 md:p-20 bg-neutral-100 rounded-lg shadow-lg text-center relative`}>
{(typeof onBack === 'function' || typeof onRetry === 'function') &&
<div css={tw`absolute left-0 top-0 ml-4 mt-4`}>
<ActionButton