Skip to content

Commit 6ea5cca

Browse files
committed
feat(course-page): improve resize handle UI and interaction
Update the resize handler on the test results bar to enhance usability and visual clarity. Replace previous fixed-height bar with a more distinct and responsive design using flexbox and group hover styles. This change improves user feedback during resizing and cleans up the markup by removing obsolete template lint disabling.
1 parent 451f22c commit 6ea5cca

File tree

1 file changed

+3
-3
lines changed
  • app/components/course-page/test-results-bar

1 file changed

+3
-3
lines changed

app/components/course-page/test-results-bar/index.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
...attributes
66
>
77
{{#if this.isExpanded}}
8-
{{! template-lint-disable no-pointer-down-event-binding }}
98
<div
10-
class="absolute bg-gray-700 hover:bg-gray-500 cursor-ns-resize h-1 rounded-sm top-1 w-12 z-10"
9+
class="group/resize-handler h-3 bg-transparent absolute top-0 left-0 right-0 flex items-center justify-center cursor-ns-resize z-10"
1110
role="button"
1211
{{on "mousedown" this.startResize}}
1312
{{on "touchstart" this.startResize}}
1413
data-test-resize-handler
1514
>
16-
<div class="absolute -top-1.5 left-0 right-0 h-4 bg-transparent"></div>
15+
<div class="bg-gray-700 group-hover/resize-handler:bg-gray-500 h-0.5 rounded-sm w-16">
16+
</div>
1717
</div>
1818
{{/if}}
1919

0 commit comments

Comments
 (0)