Skip to content

Commit

Permalink
Closes #1970 with responsive element
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzupkoii committed Mar 11, 2024
1 parent 93000c2 commit a1360e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/author-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ <h3 class="author__name">{{ author.name }}</h3>
<ul class="author__urls social-icons">
<!-- Font Awesome icons / Biographic information -->
{% if author.location %}
<li><i class="fa-solid fa-location-dot icon-pad-right" aria-hidden="true"></i>{{ author.location }}</li>
<li class="author__desktop"><i class="fa-solid fa-location-dot icon-pad-right" aria-hidden="true"></i>{{ author.location }}</li>
{% endif %}
{% if author.employer %}
<li><i class="fa fa-solid fa-building-columns icon-pad-right" aria-hidden="true"></i>{{ author.employer }}</li>
<li class="author__desktop"><i class="fa fa-solid fa-building-columns icon-pad-right" aria-hidden="true"></i>{{ author.employer }}</li>
{% endif %}
{% if author.uri %}
<li><a href="{{ author.uri }}"><i class="fas fa-fw fa-link icon-pad-right" aria-hidden="true"></i>{{ site.data.ui-text[site.locale].website_label | default: "Website" }}</a></li>
Expand Down
7 changes: 7 additions & 0 deletions _sass/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@
font-size: $type-size-5;
}

.sidebar .author__desktop {
display: none;
@media screen and (min-width: 1024px) {
display: block;
}
}

.author__pronouns {
margin: 0;

Expand Down

0 comments on commit a1360e9

Please sign in to comment.