@daeryun/dr_components 0.8.21 → 0.8.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,8 +2,8 @@ import React from 'react';
2
2
  import Image from 'next/image';
3
3
  const WorkFlowImg = ({ message }) => {
4
4
  const workFlowItem = message.workFlow;
5
- return (<div className={`mb-[10px] h-[311px] w-[281px] overflow-hidden rounded-[10px] border-[1px] border-solid`}>
6
- <Image src={(workFlowItem === null || workFlowItem === void 0 ? void 0 : workFlowItem.imageUrl) || ''} alt={''} width={300} height={300} className={`h-full w-full`}/>
5
+ return (<div className={`mb-[10px] h-[311px] w-[250px] overflow-hidden rounded-[10px]`}>
6
+ <Image src={(workFlowItem === null || workFlowItem === void 0 ? void 0 : workFlowItem.imageUrl) || ''} alt={''} width={251} height={300} className={`h-full w-full`}/>
7
7
  </div>);
8
8
  };
9
9
  export default WorkFlowImg;
@@ -7,8 +7,8 @@ interface props {
7
7
  const WorkFlowImg = ({ message }: props) => {
8
8
  const workFlowItem = message.workFlow;
9
9
  return (
10
- <div className={`mb-[10px] h-[311px] w-[281px] overflow-hidden rounded-[10px] border-[1px] border-solid`}>
11
- <Image src={workFlowItem?.imageUrl || ''} alt={''} width={300} height={300} className={`h-full w-full`} />
10
+ <div className={`mb-[10px] h-[311px] w-[250px] overflow-hidden rounded-[10px]`}>
11
+ <Image src={workFlowItem?.imageUrl || ''} alt={''} width={251} height={300} className={`h-full w-full`} />
12
12
  </div>
13
13
  );
14
14
  };
@@ -100,7 +100,7 @@ const ChatMessage = ({ message, object, handelObjectBack, chatInquiryNumber, wor
100
100
  : false;
101
101
  const objectIsBack = workFlowStack.length >= 3;
102
102
  return (<div className={`
103
- message-content
103
+ message-content max-w-[251px]
104
104
  `}>
105
105
  {/*{hasBlocks(message) && message.blocks?.map((block, index) => renderTextBlock(block, index))}*/}
106
106
  {renderText(message)}
@@ -158,7 +158,7 @@ const ChatMessage: React.FC<ChatMessageProps> = ({
158
158
  return (
159
159
  <div
160
160
  className={`
161
- message-content
161
+ message-content max-w-[251px]
162
162
  `}
163
163
  >
164
164
  {/*{hasBlocks(message) && message.blocks?.map((block, index) => renderTextBlock(block, index))}*/}
@@ -3027,10 +3027,6 @@ video {
3027
3027
  width: 27px;
3028
3028
  }
3029
3029
 
3030
- .w-\[281px\] {
3031
- width: 281px;
3032
- }
3033
-
3034
3030
  .w-\[28px\] {
3035
3031
  width: 28px;
3036
3032
  }
@@ -3456,6 +3452,10 @@ video {
3456
3452
  max-width: 1920px;
3457
3453
  }
3458
3454
 
3455
+ .max-w-\[251px\] {
3456
+ max-width: 251px;
3457
+ }
3458
+
3459
3459
  .max-w-\[300px\] {
3460
3460
  max-width: 300px;
3461
3461
  }