Skip to content

Commit

Permalink
style(profile): fix width of profile link items
Browse files Browse the repository at this point in the history
Also:
- Center profile link items in mobile device
  • Loading branch information
LolipopJ committed May 20, 2024
1 parent 8dec933 commit 5c017cf
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion source/css/mobile.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/css/mobile.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/css/style.css.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/scss/_partial/_partial/_profile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@
}

.profile-item-icon {
margin-right: 0.3rem;
margin-right: 0.4rem;
width: 1.2rem !important;
}

.about-me {
Expand Down
11 changes: 10 additions & 1 deletion src/scss/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

.profile {
margin: 1rem auto 0.5rem auto;
margin: 3rem auto 0.5rem auto;
padding: 0 0;
.profile-avatar {
width: 60%;
Expand All @@ -25,6 +25,15 @@
.profile-social {
display: none;
}
.friends {
text-align: center;
div {
text-align: center;
}
}
.profile-link-item {
text-align: center;
}
}

.toc-wrapper {
Expand Down

0 comments on commit 5c017cf

Please sign in to comment.