File tree Expand file tree Collapse file tree
Resources/templates/responsive/project
public/assets/sass/layouts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787<!-- End container fluid -->
8888
8989<div class="container-fluid section">
90+
9091 <?php if ($ project ->isImpactCalcActive ()):?>
9192 <div class="impact-calculator-details row">
9293 <?= $ this ->insert ('project/partials/impact_by_footprint ' , ['footprints ' => $ this ->footprints ]) ?>
9596 </div>
9697 <?php endif ; ?>
9798
99+ <?php if ($ project ->isHighlightedRewardsActive ()): ?>
100+ <div class="row">
101+ <?= $ this ->insert ('project/partials/highlighted_rewards ' ) ?>
102+ </div>
103+ <?php endif ; ?>
104+
98105 <div class="col-sm-8 section-content" id="project-tabs">
99106 <?= $ this ->supply ('main-content ' ) ?>
100107 </div>
Original file line number Diff line number Diff line change @@ -53,9 +53,12 @@ body.project {
5353 border : 1px solid $color-light-grey ;
5454 border-radius : 1rem ;
5555 width : 100% ;
56+ min-height : 40rem ;
5657 height : 40rem ;
5758 padding : 2rem ;
5859 font-size : 1.5rem ;
60+ overflow : hidden ;
61+ text-overflow : ellipsis ;
5962
6063 .card-header {
6164 h2 {
@@ -64,6 +67,13 @@ body.project {
6467 }
6568 }
6669
70+ .card-body {
71+ height : 20rem ;
72+ overflow : hidden ;
73+ text-overflow : ellipsis ;
74+ padding-bottom : 1rem ;
75+ }
76+
6777 .amount-box {
6878 color : $color-dark-green ;
6979 font-size : 40px ;
@@ -78,6 +88,12 @@ body.project {
7888 border : $background-light-green 2px solid ;
7989 height : fit-content ;
8090 transition : 0.5s ;
91+
92+ .card-body {
93+ min-height : 20rem ;
94+ height : fit-content ;
95+ transition : 0.5s ;
96+ }
8197 }
8298 }
8399 }
You can’t perform that action at this time.
0 commit comments