Skip to content

Commit 4f29f97

Browse files
authored
Fixed offset styling for grid layout (#22)
1 parent 94b8360 commit 4f29f97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

assets/css/hogan-gallery-grid.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/grid/grid.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
align-items: center;
77
display: flex;
88
flex-flow: row wrap;
9-
margin: 0 -5px;
9+
margin: -5px;
1010

1111
.hogan-gallery-cell {
1212
flex: 0 0 calc(33.3333333% - 10px);
@@ -20,7 +20,7 @@
2020

2121
@media screen and ( min-width: 700px ) {
2222
.hogan-gallery-grid {
23-
margin: 0 -10px;
23+
margin: -10px;
2424

2525
.hogan-gallery-cell {
2626
flex: 0 0 calc(25% - 20px);
@@ -31,7 +31,7 @@
3131

3232
@media screen and ( min-width: 1200px ) {
3333
.hogan-gallery-grid {
34-
margin: 0 -15px;
34+
margin: -15px;
3535

3636
.hogan-gallery-cell {
3737
flex: 0 0 calc(25% - 30px);

0 commit comments

Comments
 (0)