diff --git a/app/(authenticated)/images/page.tsx b/app/(authenticated)/images/page.tsx index ac18d70..4efbaf4 100644 --- a/app/(authenticated)/images/page.tsx +++ b/app/(authenticated)/images/page.tsx @@ -21,7 +21,7 @@ export default async function ImagesPage() { 画像管理 @@ -33,6 +33,7 @@ export default async function ImagesPage() { href={`/images/${image.id}`} component={NextLink} key={image.id} + color={"secondary"} > diff --git a/app/(authenticated)/layout.tsx b/app/(authenticated)/layout.tsx index fef78b4..e26b7fd 100644 --- a/app/(authenticated)/layout.tsx +++ b/app/(authenticated)/layout.tsx @@ -16,7 +16,7 @@ export default function RootLayout({ - + {children} diff --git a/app/(authenticated)/sports/create/page.tsx b/app/(authenticated)/sports/create/page.tsx index c588f5c..56315f2 100644 --- a/app/(authenticated)/sports/create/page.tsx +++ b/app/(authenticated)/sports/create/page.tsx @@ -18,7 +18,7 @@ export default async function CreateSport() { 競技管理 diff --git a/app/layout.tsx b/app/layout.tsx index 73f7b17..54f8ae4 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -21,16 +21,14 @@ export default function RootLayout({ }) { return ( - - - - - - {children} - - - - + + + + + {children} + + + ) } diff --git a/components/layout/navigation.tsx b/components/layout/navigation.tsx index 2e3d0e6..9898c68 100644 --- a/components/layout/navigation.tsx +++ b/components/layout/navigation.tsx @@ -26,8 +26,10 @@ export const Navigation = () => { const [isClosing, setIsClosing] = React.useState(false); const handleDrawerClose = () => { - setIsClosing(true); - setMobileOpen(false); + if (mobileOpen) { + setIsClosing(true); + setMobileOpen(false); + } } const handleDrawerTransitionEnd = () => { setIsClosing(false); @@ -48,7 +50,7 @@ export const Navigation = () => { sx={{py: buttonPadding, width: "100%", fontWeight: "600"}} component={NextLink} href={"/"} - onClick={handleDrawerToggle} + onClick={handleDrawerClose} > @@ -65,7 +67,7 @@ export const Navigation = () => { sx={{py: buttonPadding, width: "100%", fontWeight: "600"}} component={NextLink} href={"/"} - onClick={handleDrawerToggle} + onClick={handleDrawerClose} > @@ -102,7 +104,7 @@ export const Navigation = () => { sx={{py: buttonPadding, width: "100%", fontWeight: "600"}} component={NextLink} href={"/sports"} - onClick={handleDrawerToggle} + onClick={handleDrawerClose} > @@ -170,7 +172,7 @@ export const Navigation = () => { sx={{py: buttonPadding, width: "100%", fontWeight: "600"}} component={NextLink} href={"/roles"} - onClick={handleDrawerToggle} + onClick={handleDrawerClose} > diff --git a/components/match/matchEditor.tsx b/components/match/matchEditor.tsx index e6e458d..2f73976 100644 --- a/components/match/matchEditor.tsx +++ b/components/match/matchEditor.tsx @@ -216,21 +216,22 @@ export default function MatchEditor(props: MatchEditorProps) { - } color={"secondary"} - /> - } color={"secondary"} - /> - } color={"secondary"} - /> + + } color={"secondary"} + /> + } color={"secondary"} + /> + } color={"secondary"} + /> + diff --git a/components/theme/colorModeProvider.tsx b/components/theme/colorModeProvider.tsx index dee8449..b6a3030 100644 --- a/components/theme/colorModeProvider.tsx +++ b/components/theme/colorModeProvider.tsx @@ -45,11 +45,11 @@ const baseTheme = { }, 'body::-webkit-scrollbar': { width: '5px', - height: '8px' + height: '10px' }, '::-webkit-scrollbar': { width: '5px', - height: '3px' + height: '7px' }, '::-webkit-scrollbar-track': { background: "rgba(47,57,118,0)",