From 6252cb78606e4daacb2225214d0411daa922ec8b Mon Sep 17 00:00:00 2001 From: Aditya Date: Thu, 25 Jun 2026 17:59:43 +0530 Subject: [PATCH 1/2] fix: hide Settings scrollbar on Windows/Linux --- AUDIT_LOG.md | 9 +++++++++ CHANGELOG.md | 1 + src/Settings.css | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/AUDIT_LOG.md b/AUDIT_LOG.md index 3291e89..2900128 100644 --- a/AUDIT_LOG.md +++ b/AUDIT_LOG.md @@ -30,6 +30,15 @@ In the Settings global shortcuts section, the `renderShortcutDisplay` function g --- +### 2026-06-25 - fix: hide Settings scrollbar on Windows/Linux + +**Details/Why:** +`.settings-content` used `overflow-y: auto` without scrollbar-hiding rules. macOS overlay scrollbars auto-hide, but Windows/Linux show persistent scrollbars. Added `scrollbar-width: none` (Firefox), `-ms-overflow-style: none` (IE/Edge), and `::-webkit-scrollbar { display: none }` (Chrome/Edge/Safari) to `.settings-content`. + +**Files changed:** `src/Settings.css`, `CHANGELOG.md`. + +--- + ### 2026-06-25 - fix: window state persistence and login-item toggle desync (v0.5.4) **Details/Why:** diff --git a/CHANGELOG.md b/CHANGELOG.md index 3211079..80097bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **Window no longer shifts down on restart on macOS**: Removed the +/-28px compensation that was incorrectly added for a macOS frameless window offset which does not exist in `tauri-plugin-window-state` v2.4.1 — the plugin correctly saves `outer_position()` and restores via `set_position()` with no titlebar offset for frameless windows. - **Shortcut key pill "+" centered between key caps**: The `+` separator in the shortcut display was grouped inside the same `` as the key cap to its left with `justify-content: space-evenly`, making it appear visually attached to the left pill. Restructured to a flat flex layout with `gap` so the `+` is independently centered with equal spacing on both sides. - **Login-item toggle stays in sync with macOS System Settings**: The launch-at-startup toggle only read from `localStorage`, so removing PaperCache from System Settings left the toggle permanently stuck in the checked state. Fixed by adding a `get_launch_at_startup` Tauri command that queries the actual OS login-item state via `app.autolaunch().is_enabled()`, and syncing the toggle with the real OS state on every Settings mount. +- **Settings scrollbar hidden on Windows/Linux**: The `.settings-content` area had `overflow-y: auto` but no scrollbar-hiding rules. macOS overlay scrollbars auto-hide, but Windows/Linux show persistent scrollbars. Added `scrollbar-width: none` (Firefox), `-ms-overflow-style: none` (IE/Edge legacy), and `::-webkit-scrollbar { display: none }` (Chrome/Safari/Edge Chromium). ## [v0.5.3] - 2026-06-24 diff --git a/src/Settings.css b/src/Settings.css index 0ca6327..f79ca4e 100644 --- a/src/Settings.css +++ b/src/Settings.css @@ -24,6 +24,12 @@ flex: 1; overflow-y: auto; padding: 0 10px; + scrollbar-width: none; + -ms-overflow-style: none; +} + +.settings-content::-webkit-scrollbar { + display: none; } section { From d618743ddd68658d525a17df1fc187c0fea8972d Mon Sep 17 00:00:00 2001 From: Aditya Date: Thu, 25 Jun 2026 18:04:51 +0530 Subject: [PATCH 2/2] fix: hide editor scrollbar on Windows/Linux --- AUDIT_LOG.md | 6 +++--- CHANGELOG.md | 2 +- src/App.css | 6 ++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/AUDIT_LOG.md b/AUDIT_LOG.md index 2900128..be7f2bf 100644 --- a/AUDIT_LOG.md +++ b/AUDIT_LOG.md @@ -30,12 +30,12 @@ In the Settings global shortcuts section, the `renderShortcutDisplay` function g --- -### 2026-06-25 - fix: hide Settings scrollbar on Windows/Linux +### 2026-06-25 - fix: hide scrollbars on Windows/Linux in Settings and editor **Details/Why:** -`.settings-content` used `overflow-y: auto` without scrollbar-hiding rules. macOS overlay scrollbars auto-hide, but Windows/Linux show persistent scrollbars. Added `scrollbar-width: none` (Firefox), `-ms-overflow-style: none` (IE/Edge), and `::-webkit-scrollbar { display: none }` (Chrome/Edge/Safari) to `.settings-content`. +`.settings-content` and `.editor-container` used `overflow-y: auto`/`overflow: auto` without scrollbar-hiding rules. macOS overlay scrollbars auto-hide, but Windows/Linux show persistent scrollbars. Added `scrollbar-width: none` (Firefox), `-ms-overflow-style: none` (IE/Edge), and `::-webkit-scrollbar { display: none }` (Chrome/Edge/Safari) to both containers. -**Files changed:** `src/Settings.css`, `CHANGELOG.md`. +**Files changed:** `src/Settings.css`, `src/App.css`, `CHANGELOG.md`. --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 80097bd..7fa2dfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **Window no longer shifts down on restart on macOS**: Removed the +/-28px compensation that was incorrectly added for a macOS frameless window offset which does not exist in `tauri-plugin-window-state` v2.4.1 — the plugin correctly saves `outer_position()` and restores via `set_position()` with no titlebar offset for frameless windows. - **Shortcut key pill "+" centered between key caps**: The `+` separator in the shortcut display was grouped inside the same `` as the key cap to its left with `justify-content: space-evenly`, making it appear visually attached to the left pill. Restructured to a flat flex layout with `gap` so the `+` is independently centered with equal spacing on both sides. - **Login-item toggle stays in sync with macOS System Settings**: The launch-at-startup toggle only read from `localStorage`, so removing PaperCache from System Settings left the toggle permanently stuck in the checked state. Fixed by adding a `get_launch_at_startup` Tauri command that queries the actual OS login-item state via `app.autolaunch().is_enabled()`, and syncing the toggle with the real OS state on every Settings mount. -- **Settings scrollbar hidden on Windows/Linux**: The `.settings-content` area had `overflow-y: auto` but no scrollbar-hiding rules. macOS overlay scrollbars auto-hide, but Windows/Linux show persistent scrollbars. Added `scrollbar-width: none` (Firefox), `-ms-overflow-style: none` (IE/Edge legacy), and `::-webkit-scrollbar { display: none }` (Chrome/Safari/Edge Chromium). +- **Scrollbars hidden on Windows/Linux in Settings and editor**: `.settings-content` and `.editor-container` had `overflow-y: auto`/`overflow: auto` but no scrollbar-hiding rules. macOS overlay scrollbars auto-hide, but Windows/Linux show persistent scrollbars. Added `scrollbar-width: none` (Firefox), `-ms-overflow-style: none` (IE/Edge legacy), and `::-webkit-scrollbar { display: none }` (Chrome/Safari/Edge Chromium) to both containers. ## [v0.5.3] - 2026-06-24 diff --git a/src/App.css b/src/App.css index 9684264..13a1ed5 100644 --- a/src/App.css +++ b/src/App.css @@ -93,6 +93,12 @@ body { width: 100%; overflow: auto; padding: 0; /* Let codemirror handle padding */ + scrollbar-width: none; + -ms-overflow-style: none; +} + +.editor-container::-webkit-scrollbar { + display: none; } /* CodeMirror overrides */