fixing dashboard layout and other things starting to implement rooms and all

This commit is contained in:
Arjun Patel
2022-01-22 14:59:10 -08:00
parent 9c64e80b08
commit 7b3ebb847e
5 changed files with 44 additions and 14 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ export default function Office() {
// if there are none, then show user button to create initial office rooms and then create them
return (
<section className="p-5 flex flex-col bg-gray-100 bg-opacity-25 rounded-lg shadow-md w-96 shrink-0">
<section className="p-5 flex flex-col bg-gray-100 bg-opacity-25 rounded-lg shadow-md w-96 shrink-0 flex-1">
<span className="flex flex-row justify-start items-center pb-5">
<span className="flex flex-col">
<span className="text-white uppercase">Office</span>
@@ -89,7 +89,7 @@ export default function Office() {
</span>
{/* all office rooms */}
<span className="flex flex-col space-y-5">
<span className="flex flex-col space-y-5 overflow-auto">
{allOfficeRooms.map((officeRoom) => (
<OfficeCard key={officeRoom.id} officeRoom={officeRoom} />
))}
+1 -1
View File
@@ -362,7 +362,7 @@ export default function DashboardRoom() {
}
return (
<section className="p-5 flex flex-col bg-gray-100 bg-opacity-25 rounded-lg shadow-md h-[46rem] ">
<section className="p-5 flex flex-col bg-gray-100 bg-opacity-25 rounded-lg shadow-md flex-1">
{/* modal for creating room */}
<CreateOrUpdateRoom
show={showModalType == ShowModalType.createRoom}
+1 -1
View File
@@ -204,7 +204,7 @@ export default function TeamVoiceLine() {
}
return (
<section className="p-5 flex flex-col bg-gray-100 bg-opacity-25 rounded-lg shadow-md w-96 shrink-0">
<section className="p-5 flex flex-col bg-gray-100 bg-opacity-25 rounded-lg shadow-md w-96 shrink-0 max-h-[32rem]">
<span className="flex flex-row justify-start items-center pb-5">
<span className="flex flex-col">
<span className="text-white">TEAM</span>