Skip to content

Commit d861c2a

Browse files
authored
Merge pull request #3259 from codecrafters-io/fix-shorter-modal-animation-duration
fix(animation): shorten modal dismissal animation duration
2 parents b913e11 + 1771527 commit d861c2a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/components/course-page/course-stage-step/tests-passed-overlay.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
>
77
<:content>
88
<AnimatedContainer>
9-
{{#animated-if this.modalWasDismissed duration=200 use=this.transition}}
9+
{{#animated-if this.modalWasDismissed duration=150 use=this.transition}}
1010
<CoursePage::CourseStageStep::TestsPassedNotice
1111
class="px-3 md:px-6 lg:px-10 w-full scroll-mt-20"
1212
{{! Ensure this is visible when modal is dismissed }}

app/components/course-page/current-step-complete-overlay.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
>
77
<:content>
88
<AnimatedContainer>
9-
{{#animated-if this.modalWasDismissed duration=200 use=this.transition}}
9+
{{#animated-if this.modalWasDismissed duration=150 use=this.transition}}
1010
<CoursePage::CompletedStepNotice
1111
{{! @glint-expect-error repository is nullable according to coursePageState }}
1212
@repository={{this.coursePageState.stepList.repository}}

app/components/course-page/previous-steps-incomplete-overlay.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
>
77
<:content>
88
<AnimatedContainer>
9-
{{#animated-if this.modalWasDismissed duration=200 use=this.transition}}
9+
{{#animated-if this.modalWasDismissed duration=150 use=this.transition}}
1010
<CoursePage::PreviousStepsIncompleteNotice
1111
@step={{@currentStep}}
1212
class="px-3 md:px-6 lg:px-10 w-full scroll-mt-20"

0 commit comments

Comments
 (0)