diff --git a/package.json b/package.json index d819ed8..b4fcebf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.45.0", + "version": "1.46.0", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/src/app/globals.css b/src/app/globals.css index 792b996..e84caf8 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -3879,10 +3879,14 @@ h3 { .weekly-day-header { position: sticky; top: calc(48px + env(safe-area-inset-top, 0px)); - z-index: 10; + z-index: 40; background: var(--weekly-bg, white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); } + /* In time-grid mode, the scroll container is time-grid-wrapper, so top=0 */ + .time-grid-on .weekly-day-header { + top: 0 !important; + } } @media (max-width: 480px) { @@ -4308,7 +4312,7 @@ h3 { @media (max-width: 768px) { .time-grid-on .weekly-days-grid { overflow-y: auto !important; - overflow-x: hidden !important; + overflow-x: clip !important; } .time-grid-on .weekly-day-column { overflow-y: visible !important; @@ -4358,8 +4362,12 @@ h3 { } @media (max-width: 768px) { + /* Sticky day header: top: 0 relative to the scroll container (time-grid-wrapper) */ .time-grid-on .weekly-day-header { - top: calc(48px + env(safe-area-inset-top, 0px)) !important; + position: sticky !important; + top: 0 !important; + z-index: 40 !important; + background-color: var(--weekly-bg, white); } /* On mobile, time-column-header should NOT be sticky โ€” it wastes vertical space */ .time-grid-on .time-column-header { diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index ad244a0..272e1cd 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -14,7 +14,17 @@ import TaskRecurrenceModal from "./RecurrenceModal"; import { GridTaskBlock } from "./GridTaskBlock"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faApple, faGoogle, faMicrosoft } from "@fortawesome/free-brands-svg-icons"; -import { faServer } from "@fortawesome/free-solid-svg-icons"; +import { + faServer, faFolder, faBriefcase, faBullseye, faRocket, faStar, + faLightbulb, faFire, faPalette, faMusic, faMobileScreen, faLaptop, + faGlobe, faHouse, faBuilding, faChartBar, faChartLine, faWrench, + faBolt, faGamepad, faPen, faBook, faGraduationCap, faFlask, + faMicroscope, faDumbbell, faUtensils, faPlane, faLeaf, faHeart, + faCartShopping, faCoins, faGift, faCamera, faFilm, faBroom, + faPaw, faEarthAmericas, faLock, faCheck, faCode, faCube, + faUsers, faCar, faMountain, faUmbrella, faClock, faTag, + IconDefinition, +} from "@fortawesome/free-solid-svg-icons"; import FocusModeOverlay from "./FocusModeOverlay"; import { @@ -5762,9 +5772,9 @@ export default function WeeklyView() { {/* Mobile Header */} {isMobile && (
- {/* Left: Menu button */} - {/* Center: Date display (tap to jump to date) */} @@ -5802,9 +5812,9 @@ export default function WeeklyView() { - {/* Right: Search */} -
)} @@ -6345,7 +6355,7 @@ export default function WeeklyView() { > {projects.map(p => ( - + ))}