diff --git a/components/theme/util/genComponentStyleHook.ts b/components/theme/util/genComponentStyleHook.ts index 0f1d3985b8..d27cb959c6 100644 --- a/components/theme/util/genComponentStyleHook.ts +++ b/components/theme/util/genComponentStyleHook.ts @@ -7,7 +7,6 @@ import { ConfigContext } from '../../config-provider/context'; import type { UseComponentStyleResult } from '../index'; import { mergeToken, statisticToken, useToken } from '../index'; import type { ComponentTokenMap, GlobalToken } from '../interface'; -import warning from '../../_util/warning'; export type OverrideTokenWithoutDerivative = ComponentTokenMap; export type OverrideComponent = keyof OverrideTokenWithoutDerivative; @@ -48,19 +47,6 @@ export default function genComponentStyleHook [ { diff --git a/site/theme/template/Layout/Header/Logo.less b/site/theme/template/Layout/Header/Logo.less index 8d017e706e..0c932ad222 100644 --- a/site/theme/template/Layout/Header/Logo.less +++ b/site/theme/template/Layout/Header/Logo.less @@ -24,6 +24,7 @@ img { height: 32px; margin-right: 12px; + vertical-align: middle; .ant-row-rtl & { margin-right: 0;