Fix: Center alignment icon of text widget's alignment property is different color in dark mode (#1877)

* solved svg color issue

* removed unwanted lines
This commit is contained in:
Muhsin Shah C P 2022-01-21 10:59:25 +05:30 committed by GitHub
parent b3245b5a25
commit d0fe83f97c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,14 +45,7 @@ export const AlignButtons = ({ param, definition, onChange, paramType, component
checked={initialValue === 'center'}
/>
<div className="action-icon">
<svg
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className="svg-icon"
>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M2 4H14M4.66667 8H11.3333M3.33333 12H12.6667"
stroke={initialValue == 'center' ? '#fff' : '#8092AC'}