Merge pull request #2797 from pterodactyl/matthewpi/breadcrumb-patch-1
Add mb-4 to File Manager Breadcrumb when editing a file
This commit is contained in:
commit
a66ee9673b
1 changed files with 3 additions and 1 deletions
|
@ -87,7 +87,9 @@ export default () => {
|
||||||
<PageContentBlock>
|
<PageContentBlock>
|
||||||
<FlashMessageRender byKey={'files:view'} css={tw`mb-4`}/>
|
<FlashMessageRender byKey={'files:view'} css={tw`mb-4`}/>
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
|
<div css={tw`mb-4`}>
|
||||||
<FileManagerBreadcrumbs withinFileEditor isNewFile={action !== 'edit'}/>
|
<FileManagerBreadcrumbs withinFileEditor isNewFile={action !== 'edit'}/>
|
||||||
|
</div>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
{hash.replace(/^#/, '').endsWith('.pteroignore') &&
|
{hash.replace(/^#/, '').endsWith('.pteroignore') &&
|
||||||
<div css={tw`mb-4 p-4 border-l-4 bg-neutral-900 rounded border-cyan-400`}>
|
<div css={tw`mb-4 p-4 border-l-4 bg-neutral-900 rounded border-cyan-400`}>
|
||||||
|
|
Loading…
Reference in a new issue