Skip to content

Commit

Permalink
ui: auto logo width
Browse files Browse the repository at this point in the history
  • Loading branch information
634750802 committed Jun 25, 2024
1 parent 59ba172 commit 04a8e10
Showing 1 changed file with 2 additions and 2 deletions.
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" width={32} height={32} />
<img className="hidden dark:block" src={setting.logo_in_dark_mode} alt="logo" width={32} height={32} />
<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} />
<span className="text-2xl font-light flex-shrink-0 tracking-widest">
{setting.title}
</span>
Expand Down

0 comments on commit 04a8e10

Please sign in to comment.