Skip to content

Commit 5d1321f

Browse files
authored
Merge pull request #3164 from codecrafters-io/test-expand-step
Expand expand step
2 parents a6fec6b + 398837e commit 5d1321f

File tree

1 file changed

+2
-2
lines changed
  • app/components/expandable-step-list

1 file changed

+2
-2
lines changed

app/components/expandable-step-list/step.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div
2-
class="py-2 px-1 {{if @isExpanded 'pb-6' 'cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700/60'}}"
2+
class="py-2 px-1 transition-all duration-200 {{if @isExpanded 'pb-6 pt-3' 'cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700/60'}}"
33
data-test-expandable-step-list-step
44
{{did-update this.handleDidUpdateIsComplete @step.isComplete}}
55
...attributes
66
>
77
<div class="{{if @isExpanded 'mb-3' ''}} flex items-center justify-between gap-2">
8-
<div class="flex items-center gap-1">
8+
<div class="flex items-center gap-1 {{if @isExpanded 'border-b-2 border-gray-200 dark:border-white/5' ''}}">
99
<div class="prose dark:prose-invert {{if @step.isComplete 'opacity-50'}}" data-test-step-title>
1010
{{markdown-to-html (concat "**Step " @number "**: " @step.titleMarkdown)}}
1111
</div>

0 commit comments

Comments
 (0)