Skip to content

Commit 55cbf8d

Browse files
committed
Fix Header
1 parent ca97d8c commit 55cbf8d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tools/server/webui/src/components/Header.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function Header() {
2828
}, [selectedTheme]);
2929

3030
return (
31-
<div className="flex flex-row items-center pt-2 pb-2 sticky top-0 z-10 bg-base-100 border-b border-base-content/10">
31+
<div className="flex flex-row items-center py-2 sticky top-0 z-10 bg-base-100 border-b border-base-content/10">
3232
{/* open sidebar button */}
3333
<label
3434
htmlFor="toggle-drawer"
@@ -38,7 +38,7 @@ export default function Header() {
3838
</label>
3939

4040
{/* model information*/}
41-
<div className="grow ml-2 px-1 sm:px-4 py-0 sm:py-2">
41+
<div className="grow ml-2 px-1 sm:px-4 py-0">
4242
<b>
4343
{serverProps?.model_alias ||
4444
serverProps?.model_path
@@ -55,7 +55,10 @@ export default function Header() {
5555
data-tip="Settings"
5656
onClick={() => setShowSettings(true)}
5757
>
58-
<button className="btn w-8 h-8 p-0 rounded-full" aria-hidden={true}>
58+
<button
59+
className="btn btn-ghost w-8 h-8 p-0 rounded-full"
60+
aria-hidden={true}
61+
>
5962
{/* settings button */}
6063
<Cog8ToothIcon className="w-5 h-5" />
6164
</button>
@@ -67,7 +70,7 @@ export default function Header() {
6770
<div
6871
tabIndex={0}
6972
role="button"
70-
className="btn m-1 w-8 h-8 p-0 rounded-full"
73+
className="btn btn-ghost m-1 w-8 h-8 p-0 rounded-full"
7174
>
7275
<MoonIcon className="w-5 h-5" />
7376
</div>

0 commit comments

Comments
 (0)