Skip to content

Commit 7eacd51

Browse files
Merge pull request #1106 from Smadden00/Smadden00/1019-fix-card-padding
Fix: #1019 fix-card-padding
2 parents 1e6017b + c90d00d commit 7eacd51

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

src/app/globals.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,26 @@
44

55
@font-face {
66
font-family: 'HK Grotesk';
7-
src: url('/fonts/hkgrotesk-bold-webfont.woff2') format('woff2'),
7+
src:
8+
url('/fonts/hkgrotesk-bold-webfont.woff2') format('woff2'),
89
url('/fonts/hkgrotesk-bold-webfont.woff') format('woff');
910
font-weight: bold;
1011
font-style: normal;
1112
}
1213

1314
@font-face {
1415
font-family: 'HK Grotesk';
15-
src: url('/fonts/hkgrotesk-extrabold-webfont.woff2') format('woff2'),
16+
src:
17+
url('/fonts/hkgrotesk-extrabold-webfont.woff2') format('woff2'),
1618
url('/fonts/hkgrotesk-extrabold-webfont.woff') format('woff');
1719
font-weight: 800;
1820
font-style: normal;
1921
}
2022

2123
@font-face {
2224
font-family: 'HK Grotesk';
23-
src: url('/fonts/hkgrotesk-regular-webfont.woff2') format('woff2'),
25+
src:
26+
url('/fonts/hkgrotesk-regular-webfont.woff2') format('woff2'),
2427
url('/fonts/hkgrotesk-regular-webfont.woff') format('woff');
2528
font-weight: normal;
2629
font-style: normal;

src/components/PropertyCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const PropertyCard = ({ feature, setSelectedProperty }: PropertyCardProps) => {
3636
};
3737

3838
return (
39-
<div className="sm:max-w-sm w-full lg:w-1/2 p-2 max-lg:px-4 max-lg:flex max-lg:justify-center max-lg:mx-auto">
39+
<div className="sm:max-w-sm w-full lg:w-1/2 max-lg:px-4 max-lg:flex max-lg:justify-center max-lg:mx-auto">
4040
<div
4141
className="cursor-pointer max-w-sm w-full h-full"
4242
onClick={handleClick}

src/components/SidePanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const SidePanel: FC<SidePanelProps> = ({
2828
<div
2929
role="region"
3030
aria-label="results sidepanel"
31-
className={`min-h-[calc(100svh-101px)] max-h-[calc(100svh-101px)] h-full transition-all duration-300 overflow-y-scroll side-panel-container bg-white flex flex-col ${
31+
className={`min-h-[calc(100svh-101px)] max-h-[calc(100svh-101px)] h-full transition-all duration-300 overflow-y-scroll side-panel-container bg-white flex flex-col pl-2 pr-2 ${
3232
expanded ? 'w-5/12' : 'w-0'
3333
} bg-white max-sm:w-full ${isVisible}`}
3434
ref={panelRef}

0 commit comments

Comments
 (0)