refactor(V0.2): 拖动交互收紧 —— 仅把手触发 / 缩小把手 / 去多余元素 / 打卡跨组
Docker Build and Push / build-image (push) Successful in 1m3s
Docker Build and Push / build-image (push) Successful in 1m3s
- 打卡与列表: 去掉卡片整体长按拖动路径, 只有 ⠿ 把手可拖; 把手缩小 - 列表行去掉跟动的蓝色目标列徽标 (drag-pill), 占位/克隆浮层承担全部反馈 - 打卡支持跨组拖动: 落到其他周期组的目标卡 = 改周期 + 落位一次完成 (updateHabit period + reorder), 组内排序不变 - 看板: 去掉 ⠿ 把手, 恢复长按拖动
This commit is contained in:
@@ -682,8 +682,8 @@ body.me-safe-top .app-safe-top { height: 0; }
|
||||
指针流不会被滚动抢占取消, 是 Android WebView 上唯一可靠的拖动入口 */
|
||||
.grip {
|
||||
touch-action: none; -webkit-user-select: none; user-select: none;
|
||||
color: #c2c7cf; font-size: 14px; line-height: 1;
|
||||
padding: 14px 6px; margin: -8px 0; min-width: 26px; min-height: 36px;
|
||||
color: #c2c7cf; font-size: 12px; line-height: 1;
|
||||
padding: 10px 3px; margin: -6px 0; min-width: 20px; min-height: 28px;
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
cursor: grab; flex-shrink: 0; align-self: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user