Skip to content

Fixes #211 replace fixed height with min-height on timetable wrapper#215

Open
sidharth-vijayan wants to merge 1 commit intoCodeChefVIT:prodfrom
sidharth-vijayan:slotfix
Open

Fixes #211 replace fixed height with min-height on timetable wrapper#215
sidharth-vijayan wants to merge 1 commit intoCodeChefVIT:prodfrom
sidharth-vijayan:slotfix

Conversation

@sidharth-vijayan
Copy link
Copy Markdown

Problem

The timetable grid on the Slot View page was being cut off and
required scrolling to see fully.

Root Cause

The wrapper div had a fixed h-[480px] Tailwind class, which
hard-capped the height of the TimeTable component, clipping
any content beyond 480px.

Fix

Changed h-[480px] to min-h-[480px] in slot-view.tsx.
This allows the container to grow naturally with its content
while still having a sensible minimum height.

Closes #211

Copy link
Copy Markdown
Collaborator

@atharvaSharma17 atharvaSharma17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don’t just squish the grid to make it fit. This change is distorting the layout. Please adjust the surrounding containers and sibling components so the timetable grid can maintain its intended aspect ratio and spacing. The layout should adapt holistically rather than compressing the grid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix slot layout

2 participants