mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 06:29:37 +00:00
improvement: remove overview page and re-vamp secret dashboard
This commit is contained in:
@@ -10,6 +10,7 @@ type Props = {
|
||||
children?: ReactNode;
|
||||
icon?: IconDefinition;
|
||||
iconSize?: SizeProp;
|
||||
titleClassName?: string;
|
||||
};
|
||||
|
||||
export const EmptyState = ({
|
||||
@@ -17,7 +18,8 @@ export const EmptyState = ({
|
||||
className,
|
||||
children,
|
||||
icon = faCubesStacked,
|
||||
iconSize = "2x"
|
||||
iconSize = "2x",
|
||||
titleClassName
|
||||
}: Props) => (
|
||||
<div
|
||||
className={twMerge(
|
||||
@@ -27,7 +29,7 @@ export const EmptyState = ({
|
||||
>
|
||||
<FontAwesomeIcon icon={icon} size={iconSize} />
|
||||
<div className="flex flex-col items-center py-4">
|
||||
<div className="text-sm text-bunker-300">{title}</div>
|
||||
<div className={twMerge("text-sm text-bunker-300", titleClassName)}>{title}</div>
|
||||
<div>{children}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -67,7 +67,7 @@ export const FilterableSelect = <T,>({
|
||||
}),
|
||||
menuPortal: (provided) => ({
|
||||
...provided,
|
||||
zIndex: 9999
|
||||
zIndex: 99999
|
||||
})
|
||||
}}
|
||||
tabSelectsValue={tabSelectsValue}
|
||||
|
||||
Reference in New Issue
Block a user