Skip to content

Commit

Permalink
reuse booststrap class
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed May 8, 2019
1 parent 4ee7c47 commit 843d6e9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
11 changes: 0 additions & 11 deletions app/assets/v2/css/grants/detail.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
background-color: #F8FAFC;
}

.summary-container {
background-color: white;
}

.grant-item__owner-image,
.grant-item__owner-handle {
display: inline;
Expand Down Expand Up @@ -51,9 +47,7 @@
}

.grant-item__members {
display: flex;
text-align: center;
flex-wrap: wrap;
}

#grant-profile-tabs .section-tab {
Expand Down Expand Up @@ -158,11 +152,6 @@ textarea.editable {
border-radius: 2px;
}

.grant__stakeholders-list {
display: flex;
flex-wrap: wrap;
}

.grant__header button {
font-weight: 500;
}
Expand Down
2 changes: 1 addition & 1 deletion app/grants/templates/grants/detail/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<div id="grants-details">

<div class="row">
<div class="col-12 col-md-5 col-xl-4 px-lg-5 pt-lg-5 summary-container">
<div class="col-12 col-md-5 col-xl-4 px-lg-5 pt-lg-5 summary-container bg-white">
{% include 'grants/detail/info.html' %}
</div>
<div class="detail col-12 col-md-7 col-xl-8 pt-2 pt-lg-5 pb-4 px-5">
Expand Down
2 changes: 1 addition & 1 deletion app/grants/templates/grants/detail/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ <h5 class="font-subheader pb-2">{% trans "Gas Settings" %}</h5>
</div>
{% else %}
{% if grant.team_members %}
<div class="grant-item__members">
<div class="grant-item__members d-flex flex-wrap">
{% for team_member in grant.team_members.all %}
<a class="grant-item__member-handle mb-3" href="{% url 'profile' team_member %}">
<div class="grant-item__member mr-5">
Expand Down
2 changes: 1 addition & 1 deletion app/grants/templates/grants/detail/tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h4 class="m-auto text-center font-weight-semibold">{% trans "No Activity for th
</div>

<div id="section-nav-contributors" class="tab-section">
<div class="grant__stakeholders-list">
<div class="grant__stakeholders-list d-flex flex-wrap">
{% for contribution in contributions %}
<a class="grant__stakeholders-item mr-3 mb-3" href="{% url 'profile' contribution.subscription.contributor_profile.handle %}">
<div class="mr-2 d-inline-block">
Expand Down

0 comments on commit 843d6e9

Please sign in to comment.