Skip to content

Commit

Permalink
Update navbar styling in ChatBOX component
Browse files Browse the repository at this point in the history
  • Loading branch information
heimoshuiyu committed Jul 26, 2024
1 parent 46c8a87 commit 2b430bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/chatbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ export default function ChatBOX(props: {
setShow={setShowSearch}
/>
)}
<div class="navbar bg-base-100">
<div class="navbar bg-base-100 p-0">
<div class="navbar-start">
<div class="dropdown">
<div tabindex={0} role="button" class="btn btn-ghost btn-circle">
Expand Down Expand Up @@ -530,8 +530,8 @@ export default function ChatBOX(props: {
<span class="indicator-item badge badge-primary">
{chatStore.streamMode ? Tr("STREAM") : Tr("FETCH")}
</span>
<a class="btn btn-ghost text-xl">
<SparklesIcon class="h-4 w-4" />
<a class="btn btn-ghost text-xl p-0">
<SparklesIcon className="h-4 w-4 hidden sm:block" />
{chatStore.model}
</a>
</div>
Expand Down Expand Up @@ -562,7 +562,7 @@ export default function ChatBOX(props: {
</svg>
</button>
<button
class="btn btn-ghost btn-circle"
class="btn btn-ghost btn-circle hidden sm:block"
onClick={() => setShowSettings(true)}
>
<div class="indicator">
Expand Down

0 comments on commit 2b430bd

Please sign in to comment.