Skip to content

Commit 1d9f49b

Browse files
committed
stacked table on project finder list view fixed resource tab's mobile rendering issues added gutter to container-fluid on mobile view
1 parent b1fb1cd commit 1d9f49b

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

grails-app/assets/javascripts/project-finder.js

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// leaflet
88
//= require leaflet-manifest.js
99
//= require_self
10+
// responsive table
11+
//= require responsive-table-stacked/stacked.js
1012

1113
function ProjectFinder(config) {
1214

grails-app/assets/stylesheets/common.css

+4
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ select,input[type="text"],input[type="password"],input[type="datetime"],input[ty
201201
margin-left: 20px;
202202
}
203203

204+
.margin-bottom-0, #overviewDocumentList input[type="text"].margin-bottom-0 {
205+
margin-bottom: 0;
206+
}
207+
204208
.margin-bottom-1 {
205209
display: inline-block;
206210
margin-bottom: 10px;

grails-app/assets/stylesheets/project-finder.css

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*= require leaflet-manifest
33
*= require facets-filter-view.css
44
*= require project-daystogo.css
5+
*= require responsive-table-stacked/stacked.css
56
*/
67

78
.projectLogo {

grails-app/views/hub/configurableHubTemplate1.gsp

+8
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ section#breadcrumb {
3333
/* Echo out a label for the example */
3434
/*image display size on project finder*/
3535
}
36+
37+
@media (max-width: 767px) {
38+
#main-content>.container-fluid, #custom-footer .container-fluid {
39+
padding-left: 5px;
40+
padding-right: 5px;
41+
}
42+
}
43+
3644
#main-content h1, #main-content h2, #main-content h3, #main-content h4, #main-content h5 {
3745
font-family: Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif;
3846
font-weight: 500;

grails-app/views/shared/_listDocuments.gsp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<div class="row-fluid row-eq-height" id="${containerId}">
1+
<div class="row-fluid" id="${containerId}">
22
<div class="span4">
33
<div class="btn-toolbar text-right">
44
<div class="input-prepend input-append text-left">
55
<span class="add-on"><i class="fa fa-filter"></i></span>
6-
<input type="text" data-bind="textInput: documentFilter">
6+
<input class="span2 margin-bottom-0" type="text" data-bind="textInput: documentFilter">
77
<div class="btn-group">
88
<button type="button" class="btn dropdown-toggle" data-toggle="dropdown">
99
<span data-bind="text: documentFilterField().label"></span>

0 commit comments

Comments
 (0)