Skip to content

Commit

Permalink
fix: height of booking timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Sep 29, 2024
1 parent ec244b3 commit 0491f27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/routes/_with_menu/room-booking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Helmet } from "react-helmet-async";

export const Route = createFileRoute("/_with_menu/room-booking")({
component: () => (
<div className="flex h-full flex-col p-4 @container/content @2xl/main:p-12">
<div className="flex h-[100dvh] flex-col p-4 @container/content @2xl/main:p-12">
<Helmet>
<title>Room booking</title>
<meta
Expand All @@ -18,7 +18,7 @@ export const Route = createFileRoute("/_with_menu/room-booking")({
title="Room booking"
description="Book auditoriums and meeting rooms in Innopolis University."
/>
<div className="mt-4 flex-grow">
<div className="mt-4 flex-grow overflow-hidden">
<RoomBookingPage />
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/components/room-booking/BookingTimeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@ $time-block-width: 50px;
&-scroller {
position: relative;
max-height: 100%;
overflow: auto;
overscroll-behavior: contain;
scrollbar-width: none;
Expand Down
2 changes: 1 addition & 1 deletion src/components/room-booking/RoomBookingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function RoomBookingPage() {
return (
<>
<BookingTimeline
className="h-full"
className="flex max-h-full"
onBooking={(data) => {
setBookingModalData(data);
setModalOpen(true);
Expand Down

0 comments on commit 0491f27

Please sign in to comment.