Conversation
sarvottamchaturvedi
commented
Apr 15, 2026
Collaborator
- Solved issue Navbar positioning #135 Navbar Positioning
- Added indicator for official lunchtime (12:30-2pm) in weekly and daily timetables
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Timetable UI to address the reported “fixed/overlaying navbar” behavior on scroll and to visually mark the official lunch window in both day and week timetable views.
Changes:
- Removed the sticky positioning from the Timetable page heading wrapper to prevent it from overlaying content while scrolling.
- Added “LUNCH” overlay blocks to Day and Week timetable grids to indicate the 12:30–14:00 lunch period.
- Made the Week grid a positioned container (
position: relative) so the week lunch overlay can be absolutely positioned correctly.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
For better formatting and readability of code Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| <DayEventColumn> | ||
| {isToday && <CurrentTimeIndicator />} | ||
|
|
||
| <LunchBlock>LUNCH</LunchBlock> |
| ))} | ||
| </WeekTimeColumn> | ||
|
|
||
| <WeekLunchBlock>LUNCH</WeekLunchBlock> |
Comment on lines
+2412
to
+2414
| /* position: sticky; */ | ||
| /* top: 0; */ | ||
| /* z-index: 100; */ |
Comment on lines
+2412
to
+2414
| /* position: sticky; */ | ||
| /* top: 0; */ | ||
| /* z-index: 100; */ |
Comment on lines
+3133
to
+3137
| position: absolute; | ||
| top: 240px; | ||
| left: 0; | ||
| width: 100%; | ||
| height: 90px; |
Comment on lines
+3161
to
+3165
| position: absolute; | ||
| top: 240px; | ||
| left: 80px; | ||
| width: calc(100% - 80px); | ||
| height: 90px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.