diff --git a/x-pack/legacy/plugins/code/public/components/main/directory.tsx b/x-pack/legacy/plugins/code/public/components/main/directory.tsx index 29667e6e44024..090e594f82a65 100644 --- a/x-pack/legacy/plugins/code/public/components/main/directory.tsx +++ b/x-pack/legacy/plugins/code/public/components/main/directory.tsx @@ -52,18 +52,18 @@ const DirectoryNodes = (props: DirectoryNodesProps) => { )); return ( - - - +
+
+

{props.title}

- +
{nodes} - - +
+
); }; @@ -120,9 +120,5 @@ export const Directory = withRouter((props: Props) => { {folders.length > 0 && folderList} ); - return ( - - {children} - - ); + return
{children}
; }); diff --git a/x-pack/legacy/plugins/code/public/style/_layout.scss b/x-pack/legacy/plugins/code/public/style/_layout.scss index 66d256e1a7712..6b40f0e6106bc 100644 --- a/x-pack/legacy/plugins/code/public/style/_layout.scss +++ b/x-pack/legacy/plugins/code/public/style/_layout.scss @@ -185,6 +185,7 @@ } &:not(:first-child) { padding-top: 0; + padding-bottom: 0; } }