diff --git a/public/editor/FeatureGallery.tsx b/public/editor/FeatureGallery.tsx index 1cef8ec..6a5364d 100644 --- a/public/editor/FeatureGallery.tsx +++ b/public/editor/FeatureGallery.tsx @@ -114,7 +114,7 @@ const FeatureSelector = ({ const flip = gallerySectionConfig.flip; return ( -
+
{ - colorInputOnChange({ - newColorValue: e, - hasMultipleColors, - colorIndex, - }); - }} - /> - { - colorInputOnChange({ - newColorValue: e.target.value, - hasMultipleColors, - colorIndex, - }); - }} - /> +
+ {colorIndex === 0 ? ( + + ) : null} +
+ { + colorInputOnChange({ + newColorValue: e, + hasMultipleColors, + colorIndex, + }); + }} + /> + { + colorInputOnChange({ + newColorValue: e.target.value, + hasMultipleColors, + colorIndex, + }); + }} + /> +
); })} @@ -332,8 +340,8 @@ export const FeatureGallery = () => { key={sectionIndex} className={`${sectionIndex === 0 ? "pb-6" : "py-6 border-t-2 border-t-slate-400"}`} > -
-
+
+
{gallerySectionConfig.text} @@ -386,7 +394,7 @@ export const FeatureGallery = () => {
-
+