File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
frontend/src/features/crawl-workflows Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -644,8 +644,8 @@ export class WorkflowEditor extends BtrixElement {
644644 class=${ clsx (
645645 tw `part-[base]:rounded-lg part-[base]:border part-[base]:transition-shadow part-[base]:focus:shadow` ,
646646 tw `part-[content]:pb-8 part-[content]:[border-top:solid_1px_var(--sl-panel-border-color)]` ,
647- tw `part-[header]:text-neutral-500 part-[header]:hover:text-blue-400` ,
648- tw `part-[summary-icon]:[rotate:none]` ,
647+ tw `part-[header]:p-0 part-[header]: text-neutral-500 part-[header]:hover:text-blue-400` ,
648+ tw `part-[summary-icon]:mx-4 part-[summary-icon]: [rotate:none]` ,
649649 hasError &&
650650 tw `part-[header]:cursor-default part-[summary-icon]:cursor-not-allowed part-[summary-icon]:text-neutral-400` ,
651651 ) }
@@ -745,7 +745,17 @@ export class WorkflowEditor extends BtrixElement {
745745 ) }
746746 </div>
747747
748- <p class="text-neutral-700" slot="summary">${ desc } </p>
748+ <p
749+ class="cursor-default px-4 py-3 text-neutral-700"
750+ slot="summary"
751+ @click=${ ( e : MouseEvent ) => {
752+ // Decrease click target size of details header
753+ e . preventDefault ( ) ;
754+ e . stopPropagation ( ) ;
755+ } }
756+ >
757+ ${ desc }
758+ </p>
749759 <div class="grid grid-cols-5 gap-5">${ render . bind ( this ) ( ) } </div>
750760 </sl-details>` ;
751761 } ;
You can’t perform that action at this time.
0 commit comments