Skip to content

Commit

Permalink
💄 Update paddings and margin (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
petterhh authored Dec 6, 2024
1 parent 7eb239f commit 60b7d4f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 3 additions & 1 deletion src/components/jobPosting/JobPosting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export default function JobPosting({ jobPosting }: JobPostingProps) {
<div className={styles.role}>
<Text type={"h5"}>{jobPosting.role}</Text>
</div>
<Badge>{jobPostingLocations}</Badge>
<div className={styles.locations}>
<Badge>{jobPostingLocations}</Badge>
</div>
</div>
</a>
);
Expand Down
8 changes: 1 addition & 7 deletions src/components/jobPosting/jobPosting.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
justify-content: space-between;
align-items: center;
border-radius: 1.5rem;
padding: 0.5rem 1.5rem;
padding: 1rem 1.5rem;
gap: 5rem;
width: 100%;
background-color: var(--text-primary-light);
Expand Down Expand Up @@ -40,12 +40,6 @@
}

.locations {
border: solid;
border-color: var(--text-primary);
border-width: thin;
border-radius: 25rem;
padding: 0.375rem 0.75rem;
text-align: center;
@media (max-width: 640px) {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/jobs/jobs.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
justify-content: center;
padding: 2rem 0.375rem 0.375rem 0.375rem;
max-width: 53rem;
margin: 5rem auto;
margin: 7.5rem auto;
border-radius: 0.375rem;
gap: 1.5rem;
background-color: var(--Violet-700);
Expand Down

0 comments on commit 60b7d4f

Please sign in to comment.