Skip to content

Commit

Permalink
FIX : 이미지 w-full추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Jbiscode committed Jun 25, 2024
1 parent d08f2ff commit 21a042a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/goods.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import HeartFill from '@assets/images/icon/heart_fill.svg';
const Goods = ({ data, likeState, handleLikeChange, isArticleLikedByUser }) => {
return (
<div>
<div className="goods-wrapper -mx-2 w-full grid justify-center box-border">
<div className="goods-wrapper w-full grid justify-center box-border">
<div className="newgoods-title mt-30 mb-4 mx-7 text-lg font-bold">추천 상품</div>
<div className="goods-list w-full grid box-border list-none grid-cols-2">
{data.length > 0 ? (
Expand Down
2 changes: 1 addition & 1 deletion src/components/profile/BuyComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const BuyComponent = ({updateMyProfileInfo }) => {
mySalesDTO.map(item => (
<Link className="w-1/2 px-2 mb-4" key={item.id} to={`/post/${item.id}`} onClick={(e) => {handleLinkClick(e,item)}}>
<div className="relative">
<img src={`https://kr.object.ncloudstorage.com/kjwtest/article/${item.thumbnailUrl}`} className="rounded-[10%] border-solid border-[1px] border-[#f1f1f1] h-[180px]"/>
<img src={`https://kr.object.ncloudstorage.com/kjwtest/article/${item.thumbnailUrl}`} className="rounded-[10%] w-full border-solid border-[1px] border-[#f1f1f1] h-[180px]"/>
{
item.tradeStatus === 'SOLD_OUT' &&
<div className="text-lg text-white flex justify-center items-center w-full h-full absolute bg-black/30 top-0 rounded-[10%]">
Expand Down
2 changes: 1 addition & 1 deletion src/components/profile/LikeComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const LikeComponent = ({updateMyProfileInfo }) => {
mySalesDTO.map(item => (
<Link className="w-1/2 px-2 mb-4" key={item.id} to={`/post/${item.id}`}>
<div className="relative">
<img src={`https://kr.object.ncloudstorage.com/kjwtest/article/${item.thumbnailUrl}` } className="rounded-[10%] border-solid border-[1px] border-[#f1f1f1] h-[180px]"/>
<img src={`https://kr.object.ncloudstorage.com/kjwtest/article/${item.thumbnailUrl}` } className="rounded-[10%] w-full border-solid border-[1px] border-[#f1f1f1] h-[180px]"/>
{
item.tradeStatus === 'SOLD_OUT' &&
<div className="text-lg text-white flex justify-center items-center w-full h-full absolute bg-black/30 top-0 rounded-[10%]">
Expand Down
2 changes: 1 addition & 1 deletion src/components/profile/OfferComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const OfferComponent = ({updateMyProfileInfo }) => {
mySalesDTO.map(item => (
<Link className="w-1/2 px-2 mb-4" key={item.id} to={`/post/${item.id}`}>
<div className="relative">
<img src={`https://kr.object.ncloudstorage.com/kjwtest/article/${item.thumbnailUrl}`} className="rounded-[10%] border-solid border-[1px] border-[#f1f1f1] h-[180px]"/>
<img src={`https://kr.object.ncloudstorage.com/kjwtest/article/${item.thumbnailUrl}`} className="rounded-[10%] w-full border-solid border-[1px] border-[#f1f1f1] h-[180px]"/>
{
item.tradeStatus === 'SOLD_OUT' &&
<div className="text-lg text-white flex justify-center items-center w-full h-full absolute bg-black/30 top-0 rounded-[10%]">
Expand Down
2 changes: 1 addition & 1 deletion src/components/profile/SaleComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const SaleComponent = ({userId}) => {
mySalesDTO.map(item => (
<Link className="w-1/2 px-2 mb-4 md:w-1/4 md:flex" key={item.id} to={`/post/${item.id}`}>
<div className="relative">
<img src={`https://kr.object.ncloudstorage.com/kjwtest/article/${item.thumbnailUrl}`} className="rounded-[10%] border-solid border-[1px] border-[#f1f1f1] h-[180px] "/>
<img src={`https://kr.object.ncloudstorage.com/kjwtest/article/${item.thumbnailUrl}`} className="rounded-[10%] w-full border-solid border-[1px] border-[#f1f1f1] h-[180px] "/>
{
item.tradeStatus === 'SOLD_OUT' &&
<div className="text-lg text-white flex justify-center items-center w-full h-full absolute bg-black/30 top-0 rounded-[10%]">
Expand Down

0 comments on commit 21a042a

Please sign in to comment.