From 69b53c8dd2c39072c1d3587c9c5190c4c41816c0 Mon Sep 17 00:00:00 2001 From: Matthew Zirbel Date: Mon, 13 Jan 2025 16:38:03 -0800 Subject: [PATCH] Remove padding from subsequent detail views --- components/CasePage/Details.tsx | 2 +- styles/globals.css | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/components/CasePage/Details.tsx b/components/CasePage/Details.tsx index e74c512..82ad267 100644 --- a/components/CasePage/Details.tsx +++ b/components/CasePage/Details.tsx @@ -1,6 +1,6 @@ export const Details = (props: DetailsProps) => { return ( -
+
{props.image && ( diff --git a/styles/globals.css b/styles/globals.css index 78a6dcf..5129415 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -20,3 +20,10 @@ a { * { box-sizing: border-box; } + +.details-section + .details-section { + padding-top: 0px; +} +.details-section + .details-section :is(h1, h2, h3, h4, h5, h6) { + margin-top: 0px +}