This repository was archived by the owner on Aug 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/ui/src/components/editor/panels/Properties/elementList Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,10 @@ const ComponentListItem = ({ item, onSelect }: { item: Component; onSelect: () =
7878 startIcon = { < Icon className = "h-4 w-4 text-[#B2B5BD]" /> }
7979 >
8080 < div className = "ml-4 w-full" >
81- < Text className = "mb-1 block text-center text-sm text-[#B2B5BD]" >
81+ < Text className = "mb-1 block text-left text-sm text-[#B2B5BD]" >
8282 { startCase ( jsonName . replace ( '-' , ' ' ) . toLowerCase ( ) ) }
8383 </ Text >
84- < Text component = "p" className = "block text-center text-xs text-theme-secondary" >
84+ < Text component = "p" className = "block text-left text-xs text-theme-secondary" >
8585 { t ( `editor:layout.assetGrid.component-detail.${ jsonName } ` , '' ) }
8686 </ Text >
8787 </ div >
@@ -107,8 +107,8 @@ const PrefabListItem = ({ item, onSelect }: { item: PrefabShelfItem; onSelect: (
107107 startIcon = { < IoMdAddCircle className = "h-4 w-4 text-[#B2B5BD]" /> }
108108 >
109109 < div className = "ml-4 w-full" >
110- < Text className = "mb-1 block text-center text-sm text-[#B2B5BD]" > { item . name } </ Text >
111- < Text component = "p" className = "block text-center text-xs text-theme-secondary" >
110+ < Text className = "mb-1 block text-left text-sm text-[#B2B5BD]" > { item . name } </ Text >
111+ < Text component = "p" className = "block text-left text-xs text-theme-secondary" >
112112 { item . detail }
113113 </ Text >
114114 </ div >
You canβt perform that action at this time.
0 commit comments