File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
apps/frontend/src/components Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -116,13 +116,13 @@ export const InformationComponent: FC<{
116116 { isValid ? < Valid /> : < Invalid /> }
117117
118118 { ! isGlobal && (
119- < div className = "text-[10px] font-[600] flex justify-center items-center" >
119+ < div className = { clsx ( "text-[10px] font-[600] flex justify-center items-center" , ! isValid && 'text-white' ) } >
120120 { totalChars } /{ totalAllowedChars }
121121 </ div >
122122 ) }
123123 { ( ( isGlobal && selectedIntegrations . length ) || ! isValid ) && (
124124 < svg
125- className = " group-hover:rotate-180"
125+ className = { clsx ( ' group-hover:rotate-180' , ! isValid && 'text-white' ) }
126126 xmlns = "http://www.w3.org/2000/svg"
127127 width = "16"
128128 height = "16"
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ export const EditorWrapper: FC<{
343343 < div
344344 className = { clsx (
345345 'relative flex-col gap-[20px] flex-1' ,
346- items . length === 1 && 'flex' ,
346+ ( items . length === 1 || ! canEdit ) && 'flex' ,
347347 ! canEdit && ! isCreateSet && 'bg-newSettings rounded-[12px]'
348348 ) }
349349 >
@@ -399,7 +399,8 @@ export const EditorWrapper: FC<{
399399 'relative flex flex-col gap-[20px] flex-1 bg-newSettings' ,
400400 index === 0 && 'rounded-t-[12px]' ,
401401 index === items . length - 1 && 'rounded-b-[12px]' ,
402- ! canEdit && ! isCreateSet && 'blur-s'
402+ ! canEdit && ! isCreateSet && 'blur-s' ,
403+ ! canEdit && index > 0 && 'hidden'
403404 ) }
404405 >
405406 < div className = "flex gap-[5px] flex-1 w-full" >
You can’t perform that action at this time.
0 commit comments