diff --git a/resources/scripts/components/elements/SubNavigation.tsx b/resources/scripts/components/elements/SubNavigation.tsx index 6b8379697..8da2cf44a 100644 --- a/resources/scripts/components/elements/SubNavigation.tsx +++ b/resources/scripts/components/elements/SubNavigation.tsx @@ -5,23 +5,24 @@ import config from '../../../../tailwind.config'; const SubNavigation = styled.div` ${tw`w-full bg-neutral-700 shadow overflow-x-auto`}; - + & > div { ${tw`flex items-center text-sm mx-auto px-2`}; max-width: 1200px; - + & > a, & > div { ${tw`inline-block py-3 px-4 text-neutral-300 no-underline whitespace-no-wrap transition-all duration-150`}; - + &:not(:first-of-type) { ${tw`ml-2`}; } - - &:active, &:hover { + + &:hover { ${tw`text-neutral-100`}; } - - &:active, &:hover, &.active { + + &:active, &.active { + ${tw`text-neutral-100`}; box-shadow: inset 0 -2px ${config.theme.colors.cyan['500']}; } } diff --git a/resources/scripts/components/server/files/FileManagerBreadcrumbs.tsx b/resources/scripts/components/server/files/FileManagerBreadcrumbs.tsx index 11b7abde7..9b1596f5c 100644 --- a/resources/scripts/components/server/files/FileManagerBreadcrumbs.tsx +++ b/resources/scripts/components/server/files/FileManagerBreadcrumbs.tsx @@ -44,7 +44,7 @@ export default ({ withinFileEditor, isNewFile }: Props) => { }; return ( -
+
{(files && files.length > 0 && !params?.action) ? { return ( - - - +
+ + + + + + +
+ + + + + +
+
+
+
{ !files ? @@ -83,22 +102,6 @@ export default () => {
} - - -
- - - - - -
-
-
}