Add mb-4 to File Manager Breadcrumb when editing a file

This commit is contained in:
Matthew Penner 2020-12-06 20:42:05 -07:00
parent 63eefaa695
commit 2fafd4fbbf

View File

@ -87,7 +87,9 @@ export default () => {
<PageContentBlock>
<FlashMessageRender byKey={'files:view'} css={tw`mb-4`}/>
<ErrorBoundary>
<div css={tw`mb-4`}>
<FileManagerBreadcrumbs withinFileEditor isNewFile={action !== 'edit'}/>
</div>
</ErrorBoundary>
{hash.replace(/^#/, '').endsWith('.pteroignore') &&
<div css={tw`mb-4 p-4 border-l-4 bg-neutral-900 rounded border-cyan-400`}>