diff --git a/app/[lang]/[pageId]/pageContent.tsx b/app/[lang]/[pageId]/pageContent.tsx
index fd8ac655..ac91c2bd 100644
--- a/app/[lang]/[pageId]/pageContent.tsx
+++ b/app/[lang]/[pageId]/pageContent.tsx
@@ -107,7 +107,7 @@ export function PageContent(props: PageContentProps) {
diff --git a/app/[lang]/[pageId]/styledSyntaxHighlighter.tsx b/app/[lang]/[pageId]/styledSyntaxHighlighter.tsx
index 95dcfe5d..663c29af 100644
--- a/app/[lang]/[pageId]/styledSyntaxHighlighter.tsx
+++ b/app/[lang]/[pageId]/styledSyntaxHighlighter.tsx
@@ -6,6 +6,7 @@ import {
tomorrowNight,
} from "react-syntax-highlighter/dist/esm/styles/hljs";
import { lazy, Suspense, useEffect, useState } from "react";
+import clsx from "clsx";
// SyntaxHighlighterはファイルサイズがでかいので & HydrationErrorを起こすので、SSRを無効化する
const SyntaxHighlighter = lazy(() => {
@@ -136,7 +137,12 @@ export function StyledSyntaxHighlighter(props: {
}
function FallbackPre({ children }: { children: string }) {
return (
-
+
{children}
);
diff --git a/app/globals.css b/app/globals.css
index 3df07768..916158d9 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -115,6 +115,13 @@ mycdark:
@apply border-primary!;
}
+.rounded-box-modal {
+ @apply rounded-box;
+ @variant max-md {
+ --radius-box: 0px !important;
+ }
+}
+
/* CDNからダウンロードするURLを指定したらなんかエラー出るので、npmでインストールしてlayout.tsxでimportすることにした */
@theme {
/*
diff --git a/app/sidebar.tsx b/app/sidebar.tsx
index 6aead65e..41cffbcd 100644
--- a/app/sidebar.tsx
+++ b/app/sidebar.tsx
@@ -118,7 +118,7 @@ export function Sidebar({ pagesList }: { pagesList: LanguageEntry[] }) {
}, [currentLangIndex]);
return (
-
+
{/* サイドバーが常時表示されているlg以上の場合のみ */}
@@ -136,7 +136,7 @@ export function Sidebar({ pagesList }: { pagesList: LanguageEntry[] }) {