ui: 优化首页logo标题样式;
This commit is contained in:
@@ -737,20 +737,13 @@ export default function HomePage() {
|
|||||||
className="!min-h-0 !h-full !overflow-hidden !bg-[var(--ds-bg-sider)]"
|
className="!min-h-0 !h-full !overflow-hidden !bg-[var(--ds-bg-sider)]"
|
||||||
>
|
>
|
||||||
<div className="flex h-full min-h-0 min-w-0 flex-col">
|
<div className="flex h-full min-h-0 min-w-0 flex-col">
|
||||||
<div className="flex h-14 shrink-0 items-center gap-2 px-3">
|
<div className="flex h-14 shrink-0 items-center px-3">
|
||||||
<img
|
<img src={LOGO_SRC} alt="" className="w-7 shrink-0 object-contain" decoding="async" />
|
||||||
src={LOGO_SRC}
|
|
||||||
alt=""
|
|
||||||
width={32}
|
|
||||||
height={32}
|
|
||||||
className="h-8 w-8 shrink-0 object-contain"
|
|
||||||
decoding="async"
|
|
||||||
/>
|
|
||||||
{!collapsed && (
|
{!collapsed && (
|
||||||
<img
|
<img
|
||||||
src={TITLE_SRC}
|
src={TITLE_SRC}
|
||||||
alt="chatone"
|
alt="chatone"
|
||||||
className="h-7 w-auto max-w-[170px] object-contain object-left"
|
className="w-auto max-w-[106px] object-contain object-left"
|
||||||
decoding="async"
|
decoding="async"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user