Skip to content

Commit

Permalink
Bootstrap homepage #2193
Browse files Browse the repository at this point in the history
  • Loading branch information
Thakur Adhikari committed Apr 8, 2021
1 parent 97f669f commit d3dfdb5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 29 deletions.
28 changes: 2 additions & 26 deletions grails-app/assets/stylesheets/responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,30 +60,6 @@

}

@media only screen and (min-width: 576px) {

#stats-holder .statistics .row .col-sm-4 {
width: 31.623931623931625%;
*width: 31.570740134569924%;

}

}

@media only screen and (min-width: 1200px) {
.statistics .row .col-sm-4 {
width: 31.623931623931625%;
*width: 31.570740134569924%;
}

.statistics .row [class*="col-sm-4"] {
display: block;
width: 100%;
min-height: 30px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
float: left;
}

.statHeight {
height: 195px;
}
4 changes: 2 additions & 2 deletions grails-app/views/report/_statistic.gsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="stat stat-${config}">
<div class="stat stat-${config} statHeight">
<div class="stat-title">${title}</div>
<span class="stat-value">${value}</span><span class="stat-units">${units}</span>
<div class="stat-text">${label}</div>
</div>
</div>
2 changes: 1 addition & 1 deletion grails-app/views/report/_statistics.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 span12 align-content-center text-center"><a href="#" class="show-more-stats">Show more stats <i class="fa fa-refresh"></i></a></div>
<div class="col-sm-12 span12 align-content-center text-center"><a href="#" class="show-more-stats text-dark">Show more stats <i class="fa fa-refresh"></i></a></div>
</div>
</div>

0 comments on commit d3dfdb5

Please sign in to comment.