Skip to content

Commit 18138d3

Browse files
committed
デザインの再調整
1 parent de3a25c commit 18138d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/[docs_id]/chatForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function ChatForm({ documentContent }: { documentContent: string }) {
3131
return (
3232
<>
3333
{isFormVisible && (
34-
<form className="border border-2 border-primary shadow-xl p-6 rounded-lg bg-base-100" style={{width:"100%", textAlign:"center", boxShadow:"-moz-initial"}} onSubmit={handleSubmit}>
34+
<form className="border border-2 border-secondary shadow-xl p-6 rounded-lg bg-base-100" style={{width:"100%", textAlign:"center", boxShadow:"-moz-initial"}} onSubmit={handleSubmit}>
3535
<h2 className="text-xl font-bold mb-4 text-left relative -top-2 font-mono h-2">
3636
AIへ質問
3737
</h2>
@@ -59,7 +59,7 @@ export function ChatForm({ documentContent }: { documentContent: string }) {
5959
<div className="right-controls">
6060
<button
6161
type="submit"
62-
className="btn btn-soft btn-circle btn-primary rounded-full"
62+
className="btn btn-soft btn-circle btn-accent border-2 border-accent rounded-full"
6363
title="送信"
6464
style={{marginTop:"10px"}}
6565
disabled={isLoading}

app/[docs_id]/markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const components: Components = {
118118
// inline
119119
return (
120120
<code
121-
className="bg-base-200 border border-base-300 px-1 py-0.5 rounded text-sm "
121+
className="bg-base-200/60 border border-base-300 px-1 py-0.5 rounded text-sm "
122122
{...props}
123123
/>
124124
);

0 commit comments

Comments
 (0)