Skip to content

Commit 3a7394c

Browse files
committed
change icon
1 parent f1bd403 commit 3a7394c

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

frontend/web/components/Icon.tsx

+7-5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export type IconName =
2424
| 'email'
2525
| 'eye'
2626
| 'eye-off'
27+
| 'expand'
2728
| 'file-text'
2829
| 'flash'
2930
| 'github'
@@ -40,7 +41,6 @@ export type IconName =
4041
| 'moon'
4142
| 'more-vertical'
4243
| 'nav-logo'
43-
| 'unfold'
4444
| 'open-external-link'
4545
| 'options-2'
4646
| 'paste'
@@ -1368,17 +1368,19 @@ const Icon: FC<IconType> = ({ fill, fill2, height, name, width, ...rest }) => {
13681368
</svg>
13691369
)
13701370
}
1371-
case 'unfold': {
1371+
case 'expand': {
13721372
return (
13731373
<svg
1374-
viewBox='0 0 24 24'
1374+
viewBox='0 0 16 16'
13751375
height={height || '16'}
13761376
width={width || '16'}
13771377
fill={fill || '#000000'}
13781378
xmlns='http://www.w3.org/2000/svg'
13791379
>
1380-
<path d='M0 0h24v24H0z' fill='none' />
1381-
<path d='M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z' />
1380+
<path
1381+
fillRule='evenodd'
1382+
d='M5.828 10.172a.5.5 0 0 0-.707 0l-4.096 4.096V11.5a.5.5 0 0 0-1 0v3.975a.5.5 0 0 0 .5.5H4.5a.5.5 0 0 0 0-1H1.732l4.096-4.096a.5.5 0 0 0 0-.707m4.344-4.344a.5.5 0 0 0 .707 0l4.096-4.096V4.5a.5.5 0 1 0 1 0V.525a.5.5 0 0 0-.5-.5H11.5a.5.5 0 0 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 0 .707'
1383+
/>
13821384
</svg>
13831385
)
13841386
}

frontend/web/components/modals/RuleInputValue.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const RuleInputValue = (props: RuleInputValueProps) => {
153153
}}
154154
>
155155
<Icon
156-
name={hasWarning ? 'warning' : 'unfold'}
156+
name={hasWarning ? 'warning' : 'expand'}
157157
fill={
158158
hasWarning
159159
? undefined

0 commit comments

Comments
 (0)