Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/activity mobile responsiveness #7641

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/retail/templates/shared/activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

{% load humanize i18n static grants_extra %}
<div class="box d-block m-0 mb-3 activity {% if is_pin %} pinned-activity {% else %} infinite-item {% endif %} {{ row.activity_type }} px-sm-3 py-4" {% if not is_pin %} data-pk="{{row.pk}}" {% endif %}>
<div class="activity_main row bg_{{ row.activity_type }}">
<div class="activity_main pl-2 row bg_{{ row.activity_type }}">
<div class="col-2 p-0">
<div class="activity-avatar">
<a id="profile-avatar-link" style="display:flex; width: 6.1rem; height: 6.1rem; margin-left: auto; margin-right: auto;" href="{{ row.profile.url }}" data-toggle="tooltip" title="@{{row.profile.handle}}">
<a id="profile-avatar-link" href="{{ row.profile.url }}" data-toggle="tooltip" title="@{{row.profile.handle}}">
<img class="avatar rounded-circle" src="https://gitcoin.co/dynamic/avatar/{{row.profile.handle}}"/>
</a>
<div class="position-relative">
Expand Down Expand Up @@ -56,7 +56,7 @@
{% endif %}
</div>
</div>
<div class="col-10 col-sm-8 pl-2 px-sm-0 activity_detail">
<div class="col-10 col-sm-8 pl-3 activity_detail">
<div>
{% include 'profiles/presence_indicator.html' with last_chat_status=row.profile.last_chat_status chat_id=row.profile.chat_id handle=row.profile.handle additionalclasses="mini" show_even_if_offline=1 %}
<b>{% firstof row.profile.data.name or row.profile.handle %}</b>
Expand Down Expand Up @@ -526,7 +526,7 @@
<img class="logo-metacard rounded-circle" src="{% url 'org_avatar' row.bounty.bounty_owner_github_username %}">
{% endif %}
</div>
<div class="col-12 col-md-7 d-flex flex-column">
<div class="col-12 col-md-7 d-flex flex-column pl-5">
<div class="bounty-detail">
<div class="title font-subheader font-weight-bold">
{{ row.metadata.description }}
Expand Down Expand Up @@ -555,7 +555,7 @@
<img class="logo-metacard rounded-circle" src="{% url 'org_avatar' row.bounty.bounty_owner_github_username %}">
{% endif %}
</div>
<div class="col-12 col-md-7 d-flex flex-column">
<div class="col-12 col-md-7 d-flex flex-column pl-5">
<div class="bounty-detail">
<div class="title font-subheader font-weight-bold">
{{ row.bounty.title }}
Expand Down