Skip to content

Commit

Permalink
Fixes responsiveness in Facilty Home (#6960)
Browse files Browse the repository at this point in the history
* fixed styling in faciltyhome

* added flex-wrap

* fix ui in sm

* fix ui in sm

* rm un-necessary classname

* Update src/Components/Facility/FacilityHome.tsx

---------

Co-authored-by: Mohammed Nihal <[email protected]>
Co-authored-by: Rithvik Nishad <[email protected]>
  • Loading branch information
3 people authored Feb 7, 2024
1 parent cab3e97 commit d4ac204
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Components/Facility/FacilityHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const FacilityHome = (props: any) => {
</div>
</div>
<div className="flex flex-1 items-center">
<div className="mb-6 grid w-full grid-cols-1 gap-4 md:mb-0 lg:grid-cols-2">
<div className="mb-6 grid w-full gap-4 sm:grid-cols-2 md:mb-0 lg:grid-cols-2">
<div className="flex-col justify-between md:flex lg:flex-1 ">
<div className="mb-10" id="address-details-view">
<h1 className="text-base font-semibold text-[#B9B9B9]">
Expand All @@ -242,7 +242,7 @@ export const FacilityHome = (props: any) => {
</div>
</div>
</div>
<div className="min-w-[300px] flex-col md:flex lg:flex-1">
<div className="flex-col md:flex lg:flex-1">
<div className="mb-10">
<h1 className="text-base font-semibold text-[#B9B9B9]">
Local Body
Expand All @@ -251,7 +251,7 @@ export const FacilityHome = (props: any) => {
{facilityData?.local_body_object?.name}
</p>
</div>
<div className="flex flex-col gap-10 md:flex-row">
<div className="flex flex-col flex-wrap gap-10 md:flex-row">
<div>
<h1 className="text-base font-semibold text-[#B9B9B9]">
Ward
Expand Down Expand Up @@ -392,7 +392,7 @@ export const FacilityHome = (props: any) => {
)}
</DropdownMenu>
</div>
<div className="flex flex-col justify-end">
<div className="sm:grid sm:grid-cols-2 sm:gap-2 md:grid md:grid-cols-2 md:gap-2 lg:flex lg:flex-col lg:justify-end lg:gap-0 ">
<ButtonV2
id="facility-detailspage-cns"
variant="primary"
Expand Down

0 comments on commit d4ac204

Please sign in to comment.