Skip to content

Fix Booking Cards To Be Responsive#184

Merged
nicalic merged 4 commits into
mainfrom
173-bug6-5-30-minute-booking-card-is-not-responsive
Apr 18, 2026
Merged

Fix Booking Cards To Be Responsive#184
nicalic merged 4 commits into
mainfrom
173-bug6-5-30-minute-booking-card-is-not-responsive

Conversation

@nicalic
Copy link
Copy Markdown
Contributor

@nicalic nicalic commented Apr 17, 2026

What

Enlargened the booking slot height in the room booking list and tweaked booking card to be responsive to their size.

Why

When opening the room booking list in a room, any 30-minute bookings were not displayed correctly and overflowed. Additional space was required for the content to display properly.

How

Defined a new constant slotHeight in BookingsList and BookingsLayout, and added a BookingSize enum to determine the size of the booking card and adjusted text and spacing in response.

Key checks:

  • 🚩Attached screenshot or recording of the changes in related tickets
  • Code comments where needed
  • No new warnings

Automated tests:

  • 🚩Unit tests added

Manual tests:

  • Big iPhone (iPhone 17 Pro Max)
  • Small iPhone (iPhone SE)

Screenshot / Recording

Before Fixing

Before

After Fixing

After

@nicalic nicalic linked an issue Apr 17, 2026 that may be closed by this pull request
@nicalic nicalic self-assigned this Apr 17, 2026
Copy link
Copy Markdown
Collaborator

@Yalilix Yalilix left a comment

Choose a reason for hiding this comment

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

lgtm

@nicalic nicalic enabled auto-merge (squash) April 18, 2026 12:46
@nicalic nicalic merged commit a0bea7a into main Apr 18, 2026
4 checks passed
@nicalic nicalic deleted the 173-bug6-5-30-minute-booking-card-is-not-responsive branch April 18, 2026 12:51
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.

BUG#6-5: 30-Minute Booking Card Is Not Responsive

2 participants