Sfoglia il codice sorgente

fix(task-list): add missing scoped .scale-down style for filter tabs

- Adds WXSS-safe tap feedback (transform: scale(0.95)) on :hover/:active
- Functionally equivalent to active:scale-95 transition-transform duration-150
- Verified type-check and build:mp-weixin pass

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
xuyunhui 1 settimana fa
parent
commit
323f87f32c
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 11 0
      src/components/task/TaskListView.vue

+ 11 - 0
src/components/task/TaskListView.vue

@@ -169,3 +169,14 @@ function refresh() {
 
 defineExpose({ refresh })
 </script>
+
+<style scoped>
+/* WXSS-safe tap feedback for filter tabs */
+.scale-down {
+  transition: transform 0.15s ease;
+}
+.scale-down:hover,
+.scale-down:active {
+  transform: scale(0.95);
+}
+</style>