@@ -284,95 +284,95 @@ export default function ThemeSettingsCompStyles(props: CompStyleProps) {
284
284
case 'radius' :
285
285
case 'cardRadius' :
286
286
case 'gap' : {
287
- icon = < BorderRadiusIcon style = { { width : "16px" , margin : "-2px 0 2px -2px " , padding : "0px" } } /> ;
287
+ icon = < BorderRadiusIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
288
288
break ;
289
289
}
290
290
case 'borderWidth' : {
291
- icon = < BorderWidthIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
291
+ icon = < BorderWidthIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
292
292
break ;
293
293
}
294
294
case 'borderStyle' : {
295
- icon = < BorderStyleIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
295
+ icon = < BorderStyleIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
296
296
break ;
297
297
}
298
298
case 'margin' : {
299
- icon = < ExpandIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
299
+ icon = < ExpandIcon style = { { width : "16px" , margin : "3px 0 0 5px " , padding : "0px" } } /> ;
300
300
break ;
301
301
}
302
302
case 'padding' :
303
303
case 'containerHeaderPadding' :
304
304
case 'containerSiderPadding' :
305
305
case 'containerFooterPadding' :
306
306
case 'containerBodyPadding' : {
307
- icon = < CompressIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
307
+ icon = < CompressIcon style = { { width : "16px" , margin : "3px 0 0 5px " , padding : "0px" } } /> ;
308
308
break ;
309
309
}
310
310
case 'opacity' : {
311
- icon = < OpacityIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
311
+ icon = < OpacityIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
312
312
break ;
313
313
}
314
314
case 'boxShadowColor' : {
315
- icon = < BorderWidthIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
315
+ icon = < BorderWidthIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
316
316
break ;
317
317
}
318
318
case 'boxShadow' : {
319
- icon = < ShadowIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
319
+ icon = < ShadowIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
320
320
break ;
321
321
}
322
322
case 'animationIterationCount' : {
323
- icon = < RefreshLineIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
323
+ icon = < RefreshLineIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
324
324
break ;
325
325
}
326
326
case 'animation' : {
327
- icon = < StarSmileIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
327
+ icon = < StarSmileIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
328
328
break ;
329
329
}
330
330
case 'animationDelay' : {
331
- icon = < TimerFlashIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
331
+ icon = < TimerFlashIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
332
332
break ;
333
333
}
334
334
case 'animationDuration' : {
335
- icon = < Timer2Icon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
335
+ icon = < Timer2Icon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
336
336
break ;
337
337
}
338
338
case 'textSize' : {
339
- icon = < TextSizeIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
339
+ icon = < TextSizeIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
340
340
break ;
341
341
}
342
342
case 'textWeight' : {
343
- icon = < TextWeightIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
343
+ icon = < TextWeightIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
344
344
break ;
345
345
}
346
346
case 'fontFamily' : {
347
- icon = < FontFamilyIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
347
+ icon = < FontFamilyIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
348
348
break ;
349
349
}
350
350
case 'textDecoration' : {
351
- icon = < TextDecorationIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
351
+ icon = < TextDecorationIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
352
352
break ;
353
353
}
354
354
case 'textTransform' : {
355
- icon = < TextTransformationIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
355
+ icon = < TextTransformationIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
356
356
break ;
357
357
}
358
358
case 'fontStyle' : {
359
- icon = < TextStyleIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
359
+ icon = < TextStyleIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
360
360
break ;
361
361
}
362
362
case 'backgroundImage' :
363
363
case 'headerBackgroundImage' :
364
364
case 'footerBackgroundImage' : {
365
- icon = < ImageCompIconSmall style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
365
+ icon = < ImageCompIconSmall style = { { width : "16px" , margin : "1px 0 0 5px " , padding : "0px" } } /> ;
366
366
break ;
367
367
}
368
368
case 'backgroundImageRepeat' :
369
369
case 'headerBackgroundImageRepeat' :
370
370
case 'footerBackgroundImageRepeat' : {
371
- icon = < ImageCompIconSmall style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
371
+ icon = < ImageCompIconSmall style = { { width : "16px" , margin : "1px 0 0 5px " , padding : "0px" } } /> ;
372
372
break ;
373
373
}
374
374
case 'rotation' : {
375
- icon = < RotationIcon style = { { width : "16px" , margin : "2px 0 0 2px " , padding : "0px" } } /> ;
375
+ icon = < RotationIcon style = { { width : "16px" , margin : "5px 0 0 5px " , padding : "0px" } } /> ;
376
376
break ;
377
377
}
378
378
}
@@ -382,7 +382,7 @@ export default function ThemeSettingsCompStyles(props: CompStyleProps) {
382
382
return (
383
383
< div style = { {
384
384
border : "1px solid lightgray" ,
385
- borderRadius : "6px " ,
385
+ borderRadius : "4px " ,
386
386
marginBottom : "16px" ,
387
387
} } >
388
388
{ styleOptions . map ( ( styleKey : string ) => (
@@ -398,10 +398,11 @@ export default function ThemeSettingsCompStyles(props: CompStyleProps) {
398
398
>
399
399
< div className = "text-desc" style = { {
400
400
width : "100px" ,
401
- minWidth : "auto" ,
402
- marginRight : "10px" ,
401
+ minWidth : "100px" ,
402
+ maxWidth : "100px" ,
403
+ marginRight : "5px" ,
403
404
} } >
404
- < div className = "name" >
405
+ < div className = "name" >
405
406
{ getLabelByStyle ( styleKey ) }
406
407
</ div >
407
408
</ div >
@@ -417,6 +418,7 @@ export default function ThemeSettingsCompStyles(props: CompStyleProps) {
417
418
trigger = "hover"
418
419
/>
419
420
< TacoInput
421
+ style = { { width : "80%" , marginLeft : "5px" } }
420
422
value = { compStyle [ styleKey ] }
421
423
onChange = { ( e ) => handleChange ( styleKey , e . target . value ) }
422
424
// onChange={(e) => setColor(e.target.value)}
@@ -432,6 +434,7 @@ export default function ThemeSettingsCompStyles(props: CompStyleProps) {
432
434
</ div >
433
435
{ /* </Radius> */ }
434
436
< TacoInput
437
+ style = { { width : "80%" , marginLeft : "5px" } }
435
438
placeholder = { getPlaceholderByStyle ( styleKey ) }
436
439
defaultValue = { compStyle [ styleKey ] }
437
440
onChange = { ( e ) => handleChange ( styleKey , e . target . value ) }
0 commit comments