Skip to content

Commit

Permalink
Reorder profile elements, avoid block layout on desktop (#2103)
Browse files Browse the repository at this point in the history
  • Loading branch information
anishTP authored Jul 31, 2024
1 parent 52783ae commit e0d476d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions funnel/assets/sass/pages/profile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,13 @@
}
.profile-details {
padding: 2 * $mui-grid-padding 0 0;
ul {
padding: 0;
display: flex;
flex-direction: row;
gap: 16px;
list-style: none;
}
}
.profile.profile--unverified {
.profile__banner__box {
Expand Down
8 changes: 4 additions & 4 deletions funnel/templates/profile_layout.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -450,16 +450,16 @@
<p class="mui--text-title mui--text-light">@{{ profile.name }}</p>
{%- endif %}
</div>
<ul class="bullet-separated-list">
{%- if profile.tagline %}
<p>{{ profile.tagline }}</p>
{%- endif %}
<ul>
{%- if profile.joined_at %}
<li>{{ faicon(icon='history') }} {% trans date=profile.joined_at|date(format='MMM YYYY') %}Joined {{ date }}{% endtrans %}</li>
{%- endif %}
{%- if profile.website %}
<li><a href="{{ profile.website }}" target="_blank" rel="noopener nofollow">{{ faicon(icon='globe') }} {{ profile.website|cleanurl }}</a></li>
{%- endif %}
{%- if profile.tagline %}
<li>{{ profile.tagline }}</li>
{%- endif %}
</ul>
<div class="mui--visible-xs-block mui--visible-sm-block">
{{ profile_header_buttons(profile) }}
Expand Down

0 comments on commit e0d476d

Please sign in to comment.