Skip to content

Commit

Permalink
Remove padding from subsequent detail views
Browse files Browse the repository at this point in the history
  • Loading branch information
mdzirbel committed Jan 14, 2025
1 parent 12396f5 commit 69b53c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/CasePage/Details.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const Details = (props: DetailsProps) => {
return (
<section id="description" className="projects-section bg-light">
<section id="description" className="details-section projects-section bg-light">
<div className="container">
<div className="row">
{props.image && (
Expand Down
7 changes: 7 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 69b53c8

Please sign in to comment.