fix: auto bgcolor remove
This commit is contained in:
@@ -69,16 +69,16 @@ const SingleImage: React.FC<SingleImageProps> = (props) => {
|
||||
return (
|
||||
<div
|
||||
key={uid}
|
||||
className={classNames('single-image', { 'auto-bg-color': false })}
|
||||
className={classNames('single-image', { 'auto-bg-color': autoBgColor })}
|
||||
>
|
||||
{/* {autoBgColor && (
|
||||
{autoBgColor && (
|
||||
<div
|
||||
className="mask"
|
||||
style={{
|
||||
background: `url(${dataUrl}) center center / cover no-repeat`
|
||||
}}
|
||||
></div>
|
||||
*/}
|
||||
)}
|
||||
<span
|
||||
className="thumb-img"
|
||||
style={{
|
||||
|
||||
@@ -466,7 +466,7 @@ const GroundImages: React.FC<MessageProps> = forwardRef((props, ref) => {
|
||||
flexWrap: 'unset',
|
||||
alignItems: 'center'
|
||||
}}
|
||||
autoBgColor={true}
|
||||
autoBgColor={false}
|
||||
editable={false}
|
||||
dataList={imageList}
|
||||
loading={loading}
|
||||
|
||||
Reference in New Issue
Block a user