Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christopher M Reffett
whats-open
Commits
c50445a2
Commit
c50445a2
authored
Sep 17, 2013
by
Renfred Harper
Browse files
Change responsive grid sizing
parent
92ccba08
Changes
2
Hide whitespace changes
Inline
Side-by-side
website/static/css/style.css
View file @
c50445a2
...
...
@@ -33,13 +33,14 @@ body {
}
.grid-box
{
font-size
:
20
0%
;
font-size
:
16
0%
;
margin
:
10px
0px
;
}
.grid-box
.restaurant
{
text-align
:
center
;
background-color
:
white
;
padding
:
10px
0px
;
margin
:
5px
0px
;
}
.opened
{
color
:
#141414
;
...
...
website/static/js/grid.js
View file @
c50445a2
...
...
@@ -25,7 +25,7 @@ function construct_grid(filtered_restaurants) {
}
// Append the data into the Bootstrap scaffolding
$
(
'
#grid .row
'
).
last
().
append
(
'
<div class="col-sm-
4
col-md-3 grid-box id="
'
+
restaurant
.
id
+
'
">
\
'
<div class="col-sm-
6
col-md-
4 col-lg-
3 grid-box id="
'
+
restaurant
.
id
+
'
">
\
<div class="restaurant
'
+
open_class
+
'
">
'
+
restaurant
.
name
+
'
</div>
\
</div>
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment