diff --git a/src/components/Common/BoxShowImgMaterial/index.css b/src/components/Common/BoxShowImgMaterial/index.css index 14cc0c2..7f23e10 100644 --- a/src/components/Common/BoxShowImgMaterial/index.css +++ b/src/components/Common/BoxShowImgMaterial/index.css @@ -4,4 +4,5 @@ } .box .materialBox { background-color: '#b7e0ff'; + border: 2px solid #333; } diff --git a/src/components/Common/BoxShowImgMaterial/index.less b/src/components/Common/BoxShowImgMaterial/index.less index 59b7ba2..4492db9 100644 --- a/src/components/Common/BoxShowImgMaterial/index.less +++ b/src/components/Common/BoxShowImgMaterial/index.less @@ -4,5 +4,6 @@ .materialBox{ // position: absolute; background-color: '#b7e0ff'; + border: 2px solid #333; } } \ No newline at end of file diff --git a/src/components/Common/BoxShowImgMaterial/indexNew.js b/src/components/Common/BoxShowImgMaterial/indexNew.js index 98b0026..dab0d43 100644 --- a/src/components/Common/BoxShowImgMaterial/indexNew.js +++ b/src/components/Common/BoxShowImgMaterial/indexNew.js @@ -171,7 +171,7 @@ const BoxShowImgMaterial = props => { ).toFixed(2); useEffect( () => { - setBoxKey(new Date().getTime()); + // setBoxKey(new Date().getTime()); setTimeout(() => { // if (boxRef.current && textRef.current && textRefs.current && nTextRef.current && nTextRefs.current) if (boxRef.current && textRef.current && textRefs.current && nTextRef.current && nTextRefs.current) {