Skip to content

Commit

Permalink
Fix icon spacing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
S-P-R committed Jan 13, 2024
1 parent 39fe1e2 commit bf7f6c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/styles/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
margin: 4rem;
margin-top: 2.4rem;
margin-bottom: .25rem;
align-self: flex-start;
}

.main-content {
Expand All @@ -24,11 +25,8 @@
}

.hero-section {
margin: 4rem;
margin-top: 2.4rem;
position: sticky;
top: 2.8rem; /* Slight increase over top-margin gets rid of small stutter when starting to scroll */
align-self: flex-start; /* Necessary for sticky positioning to work */
}

.main-content {
Expand Down
1 change: 0 additions & 1 deletion src/styles/Hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
}

.external-links > *:hover {
padding-right: 1.2rem;
transition: transform 0.3s ease, opacity 0.3s ease;
transform: scale(1.15);
opacity: 1;
Expand Down

0 comments on commit bf7f6c2

Please sign in to comment.