Merge pull request #262 from helgrind/pgrid-item_media_query_fix
Update _publication.scss to fix bad initial layout on mobile
This commit is contained in:
commit
a98cba6d9b
|
@ -205,6 +205,13 @@
|
||||||
width: 49.5%;
|
width: 49.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width:769px) {
|
||||||
|
.pgrid-sizer,
|
||||||
|
.pgrid-item {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.pgrid-item {
|
.pgrid-item {
|
||||||
float: left;
|
float: left;
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
|
@ -218,4 +225,4 @@
|
||||||
.pgrid-item img {
|
.pgrid-item img {
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue