From be3d4057b378fe03ba89e689c8bd545dee388b51 Mon Sep 17 00:00:00 2001 From: Scarriffle Date: Mon, 15 Jun 2026 21:36:36 +0200 Subject: [PATCH] feat(sidebar): distinct share icon for groupVisible, hide scrollbars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - groupVisible calendars get a share icon instead of the people icon; people icon is reserved for actual group calendars - sidebar scrollbar hidden (scrollbar-width: none + webkit) - modal-body scrollbar hidden — fixes Impressum scroll indicator Co-Authored-By: Claude Sonnet 4.6 --- frontend/css/app.css | 5 ++++- frontend/js/calendar.js | 3 ++- frontend/js/version.js | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/css/app.css b/frontend/css/app.css index 832c51d..e057968 100644 --- a/frontend/css/app.css +++ b/frontend/css/app.css @@ -508,7 +508,9 @@ a { color: var(--primary); text-decoration: none; } overflow-y: auto; overflow-x: hidden; transition: transform var(--transition); + scrollbar-width: none; } +.sidebar::-webkit-scrollbar { display: none; } .sidebar.collapsed { transform: translateX(calc(-1 * var(--sidebar-w))); margin-right: calc(-1 * var(--sidebar-w)); } .sidebar-inner { padding-bottom: 8px; } .sidebar-copyright { @@ -1066,7 +1068,8 @@ a { color: var(--primary); text-decoration: none; } } .modal-header h3 { font-size: 18px; font-weight: 500; flex: 1; } .modal-close { font-size: 24px; } -.modal-body { padding: 20px; overflow-y: auto; flex: 1; } +.modal-body { padding: 20px; overflow-y: auto; flex: 1; scrollbar-width: none; } +.modal-body::-webkit-scrollbar { display: none; } .modal-body p { margin: 0 0 14px; font-size: 14px; color: var(--text-1); } .modal-body p:last-child { margin-bottom: 0; } .modal-body a { color: var(--primary); text-decoration: none; } diff --git a/frontend/js/calendar.js b/frontend/js/calendar.js index e01c4ff..8dcc551 100644 --- a/frontend/js/calendar.js +++ b/frontend/js/calendar.js @@ -692,6 +692,7 @@ function renderCalendarList() { const TRASH = ``; const BELL = ``; const BELL_OFF = ``; + const SHARE_ICON = ``; // Build a single flat list of all calendars. The source/account is shown // inline (small, grey) next to the name and section headers are gone, so the @@ -772,7 +773,7 @@ function renderCalendarList() {
${e.isGroupCal ? `${groupIconSvg('people', 13)}` : ''} - ${e.groupVisible ? `${groupIconSvg('people', 13)}` : ''} + ${e.groupVisible ? `${SHARE_ICON}` : ''} ${escHtml(e.name)} ${e.reminders ? `` : ''} ${e.remove ? `` : ''} diff --git a/frontend/js/version.js b/frontend/js/version.js index 324df0e..3992b03 100644 --- a/frontend/js/version.js +++ b/frontend/js/version.js @@ -1,2 +1,2 @@ // Increment APP_VERSION with every code change -export const APP_VERSION = 'v59'; +export const APP_VERSION = 'v60';