diff --git a/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/chrome.css b/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/chrome.css new file mode 100644 index 00000000..3a7749ec --- /dev/null +++ b/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/chrome.css @@ -0,0 +1,4 @@ + +#titlebar { + -moz-window-dragging: no-drag; +} diff --git a/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/image.png b/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/image.png new file mode 100644 index 00000000..0585a4e4 Binary files /dev/null and b/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/image.png differ diff --git a/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/readme.md b/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/readme.md new file mode 100644 index 00000000..df3ad9f5 --- /dev/null +++ b/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/readme.md @@ -0,0 +1,7 @@ + +# Disable Sidebar Dragging + +By default, Zen Browser allows moving the browser window by dragging within the sidebar. This can interfere with actions like double-clicking to open a new tab. +This mod disables this functionality, limiting it exclusively to the window's title bar. + +![image](./screenshot.png) diff --git a/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/theme.json b/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/theme.json new file mode 100644 index 00000000..0f40cec0 --- /dev/null +++ b/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/theme.json @@ -0,0 +1,14 @@ +{ + "id": "ea59396a-09c4-4dd5-b32d-2d9ec667cdac", + "name": "Disable Sidebar Dragging", + "description": "This mod disables windows dragging within the sidebar, limiting it to the window's title bar.", + "homepage": "https://github.com/dom6770/zen-mods/tree/main/disable-sidebar-dragging", + "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/chrome.css", + "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/readme.md", + "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ea59396a-09c4-4dd5-b32d-2d9ec667cdac/image.png", + "author": "dom6770", + "version": "1.0.0", + "tags": [], + "createdAt": "2025-01-12", + "updatedAt": "2025-01-12" +} \ No newline at end of file