Skip to content

Commit

Permalink
ui: fix logo size
Browse files Browse the repository at this point in the history
  • Loading branch information
634750802 committed Jun 26, 2024
1 parent 0c020c8 commit 071d283
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/tidb-ai-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/tidb-ai.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/branding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {IWebsiteSettingResult} from "@/core/schema/settings/website";
export function Branding ({ setting }: { setting: IWebsiteSettingResult }) {
return (
<span className="flex items-center gap-4">
<img className="dark:hidden" src={setting.logo_in_light_mode} alt="logo" height={32} />
<img className="hidden dark:block" src={setting.logo_in_dark_mode} alt="logo" height={32} />
<img className="h-8 dark:hidden" src={setting.logo_in_light_mode} alt="logo" />
<img className="h-8 hidden dark:block" src={setting.logo_in_dark_mode} alt="logo" />
<span className="text-2xl font-light flex-shrink-0 tracking-widest">
{setting.title}
</span>
Expand Down

0 comments on commit 071d283

Please sign in to comment.