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