diff --git a/dashboard/src/App.tsx b/dashboard/src/App.tsx index 1f62166..f7a4afe 100644 --- a/dashboard/src/App.tsx +++ b/dashboard/src/App.tsx @@ -23,7 +23,6 @@ const theme = extendTheme({ styles: { global: { 'html, body, #root': { - fontFamily: 'Avenir, Helvetica, Arial, sans-serif', height: '100%', outline: 'none', }, diff --git a/dashboard/src/components/EnvComponents/OAuthConfig.tsx b/dashboard/src/components/EnvComponents/OAuthConfig.tsx index a235e09..e2c9eeb 100644 --- a/dashboard/src/components/EnvComponents/OAuthConfig.tsx +++ b/dashboard/src/components/EnvComponents/OAuthConfig.tsx @@ -23,7 +23,7 @@ const OAuthConfig = ({
- Your instance information + Authorizer Config diff --git a/dashboard/src/components/InputField.tsx b/dashboard/src/components/InputField.tsx index 8e58189..f4d373d 100644 --- a/dashboard/src/components/InputField.tsx +++ b/dashboard/src/components/InputField.tsx @@ -13,6 +13,7 @@ import { Textarea, Switch, Code, + Text, } from '@chakra-ui/react'; import { FaRegClone, @@ -179,14 +180,14 @@ const InputField = ({ if (Object.values(ArrayInputType).includes(inputType)) { return ( 3 ? "scroll" : "hidden"} - overflowY="hidden" - justifyContent="start" - alignItems="center" + border="1px solid #e2e8f0" + w="100%" + borderRadius={5} + paddingTop="0.5%" + overflowX={variables[inputType].length > 3 ? 'scroll' : 'hidden'} + overflowY="hidden" + justifyContent="start" + alignItems="center" > {variables[inputType].map((role: string, index: number) => ( @@ -301,7 +302,9 @@ const InputField = ({ if (Object.values(SwitchInputType).includes(inputType)) { return ( - Off + + Off + - On + + On + ); } diff --git a/dashboard/src/components/Menu.tsx b/dashboard/src/components/Menu.tsx index 819c665..7822062 100644 --- a/dashboard/src/components/Menu.tsx +++ b/dashboard/src/components/Menu.tsx @@ -119,7 +119,7 @@ interface SidebarProps extends BoxProps { export const Sidebar = ({ onClose, ...rest }: SidebarProps) => { const { pathname } = useLocation(); - const [{ fetching, data }] = useQuery({ query: MetaQuery }); + const [{ data }] = useQuery({ query: MetaQuery }); const [isNotSmallerScreen] = useMediaQuery('(min-width:600px)'); return ( { bg={useColorModeValue('white', 'gray.900')} borderRight="1px" borderRightColor={useColorModeValue('gray.200', 'gray.700')} - w={{ base: 'full', md: 60 }} + w={{ base: 'full', md: '64' }} pos="fixed" h="full" {...rest} @@ -137,7 +137,7 @@ export const Sidebar = ({ onClose, ...rest }: SidebarProps) => { alignItems="center" mx="18" justifyContent="space-between" - flexDirection="column" + flexDirection="row" > @@ -298,7 +298,7 @@ export const MobileNav = ({ onOpen, ...rest }: MobileProps) => { return ( {/* mobilenav */} - + {children} diff --git a/dashboard/src/pages/Auth.tsx b/dashboard/src/pages/Auth.tsx index 2610dd1..83bf55c 100644 --- a/dashboard/src/pages/Auth.tsx +++ b/dashboard/src/pages/Auth.tsx @@ -101,10 +101,10 @@ export default function Auth() {