File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export function PageContent(props: PageContentProps) {
109109 . map ( ( { chatId, messages } ) => (
110110 < div
111111 key = { chatId }
112- className = "max-w-xs mb-2 p-2 text-sm border border-base-content/10 rounded-sm shadow-sm bg-base-100 "
112+ className = "max-w-xs mb-2 p-2 text-sm border border-base-content/10 rounded-sm shadow-sm bg-base-200 "
113113 >
114114 < div className = "max-h-60 overflow-y-auto" >
115115 { messages . map ( ( msg , index ) => (
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ export default function RootLayout({
2222} : Readonly < { children : ReactNode } > ) {
2323 return (
2424 < html lang = "ja" >
25- < body className = "w-screen h-screen" >
25+ < body className = "w-screen h-screen bg-inherit! text-inherit! m-0!" >
26+ { /* mocha.css がbodyに背景色などを設定してしまうので、それを上書きしている */ }
2627 < AutoAnonymousLogin />
2728 < SidebarMdProvider >
2829 < div className = "drawer lg:drawer-open" >
Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ export function Sidebar() {
108108
109109 return (
110110 < div className = "bg-base-200 h-full w-80 overflow-y-auto" >
111- { /* todo: 背景色ほんとにこれでいい? */ }
112111 < h2 className = "hidden lg:flex flex-row items-center p-4 gap-2" >
113112 { /* サイドバーが常時表示されているlg以上の場合のみ */ }
114113 < Link href = "/" className = "flex-1 flex items-center" >
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ export default function TerminalLayout({
1313} : {
1414 children : React . ReactNode ;
1515} ) {
16- return < div > { children } </ div > ;
16+ return children ;
1717}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default function RuntimeTestPage() {
3131 className = "tab"
3232 aria-label = { lang }
3333 />
34- < div className = "tab-content border-base-300 bg-base-100 p-4" >
34+ < div className = "tab-content border-base-300 bg-base-200 p-4" >
3535 < RuntimeSample lang = { lang as RuntimeLang } config = { config } />
3636 </ div >
3737 </ Fragment >
@@ -105,7 +105,7 @@ function RuntimeSample({
105105 config : SampleConfig ;
106106} ) {
107107 return (
108- < div className = "flex flex-col gap-4 " >
108+ < div className = "flex flex-col" >
109109 { config . repl && (
110110 < ReplTerminal
111111 terminalId = "1"
You can’t perform that action at this time.
0 commit comments