mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
Fix/workspace logo style (#17164)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import classNames from '@/utils/classnames'
|
||||
import type { FC } from 'react'
|
||||
|
||||
type LogoEmbeddedChatHeaderProps = {
|
||||
@@ -7,13 +8,16 @@ type LogoEmbeddedChatHeaderProps = {
|
||||
const LogoEmbeddedChatHeader: FC<LogoEmbeddedChatHeaderProps> = ({
|
||||
className,
|
||||
}) => {
|
||||
return (
|
||||
return <picture>
|
||||
<source media="(resolution: 1x)" srcSet='/logo/logo-embedded-chat-header.png' />
|
||||
<source media="(resolution: 2x)" srcSet='/logo/logo-embedded-chat-header@2x.png' />
|
||||
<source media="(resolution: 3x)" srcSet='/logo/logo-embedded-chat-header@3x.png' />
|
||||
<img
|
||||
src='/logo/logo-embedded-chat-header.png'
|
||||
className={`block h-6 w-auto ${className}`}
|
||||
alt='logo'
|
||||
className={classNames('block h-6 w-auto', className)}
|
||||
/>
|
||||
)
|
||||
</picture>
|
||||
}
|
||||
|
||||
export default LogoEmbeddedChatHeader
|
||||
|
||||
Reference in New Issue
Block a user