mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-08 15:43:10 +08:00
fix(desktop): 页面操作栏不再被当作标题栏拖动
.actionRegion 由 drag 改为 no-drag,修复顶部时间条、刷新按钮可拖动窗口、双击触发最大化的问题。
This commit is contained in:
@@ -151,7 +151,11 @@
|
|||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-drag: none;
|
-webkit-user-drag: none;
|
||||||
-webkit-app-region: drag;
|
// Page actions (e.g. the overview time-range bar and the floating refresh
|
||||||
|
// button) must not act as a window drag handle; the dedicated drag layer in
|
||||||
|
// AppHeader owns window dragging. Otherwise these controls get dragged and
|
||||||
|
// double-click maximizes the window.
|
||||||
|
-webkit-app-region: no-drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions {
|
.actions {
|
||||||
|
|||||||
Reference in New Issue
Block a user