1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 18:42:31 +01:00

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`}>