Skip to content

Commit a66ee96

Browse files
authored
Merge pull request pterodactyl#2797 from pterodactyl/matthewpi/breadcrumb-patch-1
Add mb-4 to File Manager Breadcrumb when editing a file
2 parents f31a128 + 2fafd4f commit a66ee96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

resources/scripts/components/server/files/FileEditContainer.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ export default () => {
8787
<PageContentBlock>
8888
<FlashMessageRender byKey={'files:view'} css={tw`mb-4`}/>
8989
<ErrorBoundary>
90-
<FileManagerBreadcrumbs withinFileEditor isNewFile={action !== 'edit'}/>
90+
<div css={tw`mb-4`}>
91+
<FileManagerBreadcrumbs withinFileEditor isNewFile={action !== 'edit'}/>
92+
</div>
9193
</ErrorBoundary>
9294
{hash.replace(/^#/, '').endsWith('.pteroignore') &&
9395
<div css={tw`mb-4 p-4 border-l-4 bg-neutral-900 rounded border-cyan-400`}>

0 commit comments

Comments
 (0)