Skip to content

Commit

Permalink
Refactor activity and contact component styles: replace hardcoded bor…
Browse files Browse the repository at this point in the history
…der-radius with CSS variables for consistency
  • Loading branch information
upayanmazumder committed Nov 28, 2024
1 parent dae03b3 commit 553b548
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/components/activity/activity.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

.activityCard {
background-color: #1f1f2b;
border-radius: 12px;
border-radius: var(--border-radius-large);
padding: 1em;
width: fit-content;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
Expand Down
6 changes: 4 additions & 2 deletions app/src/components/contact/contact.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,20 @@
width: 100%;
padding: 10px;
border: 1px solid #3535357d;
border-radius: var(--border-radius-small) var(--border-radius-small) 0 var(--border-radius-small);
border-radius: var(--border-radius-small);
background-color: #393939;
color: #e0e0e0;
transition: border-color 0.3s ease;
margin-top: 10px;
}

.container textarea {
margin-top: 15px;
max-width: 90%;
max-height: 60px;
min-width: 90%;
min-width: 100%;
min-height: min-content !important;
border-radius: var(--border-radius-small) var(--border-radius-small) 0 var(--border-radius-small);
}

.container input:focus,
Expand Down

0 comments on commit 553b548

Please sign in to comment.