Skip to content

Commit 333f42d

Browse files
feat(icon): fixed the icon used for feedback
Signed-off-by: captain-Akshay <[email protected]>
1 parent d8d1907 commit 333f42d

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

src/custom/Feedback/style.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ const positionMap: Record<
189189
},
190190
'right-middle': {
191191
top: '50%',
192-
right: '-60px',
193-
transform: 'rotate(-90deg) translateY(-50%)'
192+
right: '-45px',
193+
transform: 'rotate(-90deg)'
194194
},
195195
'right-bottom': {
196196
bottom: '10%',

src/icons/Feedback/FeedbackIcon.tsx

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,27 @@ const FeedbackIcon: FC<KeppelApplicationIconProps> = ({
1717
height={height}
1818
version="1.1"
1919
xmlns="http://www.w3.org/2000/svg"
20-
viewBox="0 0 20 20"
20+
viewBox="0 0 24 24"
2121
fill={props.fill}
2222
{...props}
2323
>
24-
<g clip-path="url(#clip0_27246_7300)">
25-
<path d="M18 0H2C1.46957 0 0.960859 0.210714 0.585786 0.585786C0.210714 0.960859 0 1.46957 0 2L0 20L4 16H18C18.5304 16 19.0391 15.7893 19.4142 15.4142C19.7893 15.0391 20 14.5304 20 14V2C20 1.46957 19.7893 0.960859 19.4142 0.585786C19.0391 0.210714 18.5304 0 18 0ZM11 12H9V10H11V12ZM11 8H9V4H11V8Z" />
26-
<path d="M11 3.89062H9V8.00062H11V3.89062Z" fill={props.secondaryFill || 'transparent'} />
27-
<path d="M11 9.92188H9V12.0019H11V9.92188Z" fill={props.secondaryFill || 'transparent'} />
28-
</g>
29-
<defs>
30-
<clipPath id="clip0_27246_7300">
31-
<rect width="20" height="20" fill="white" />
32-
</clipPath>
33-
</defs>
24+
<path d="M20 2H4C2.9 2 2.01 2.9 2.01 4L2 22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM13 14H11V12H13V14ZM13 10H11V6H13V10Z" />
25+
<line
26+
x1="12"
27+
y1="6"
28+
x2="12"
29+
y2="10"
30+
stroke={props.secondaryFill || 'transparent'}
31+
stroke-width="2"
32+
/>
33+
<line
34+
x1="12"
35+
y1="12"
36+
x2="12"
37+
y2="14"
38+
stroke={props.secondaryFill || 'transparent'}
39+
stroke-width="2"
40+
/>
3441
</svg>
3542
);
3643
};

0 commit comments

Comments
 (0)