Update _publication.scss

Added media query to complement the full/half pgrid-item dynamic resizing on loading.
This commit is contained in:
Laurence Stant 2020-04-20 02:32:17 +01:00 committed by GitHub
parent 4c77300eeb
commit c4d3682642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -205,6 +205,13 @@
width: 49.5%;
}
@media only screen and (max-width:769px) {
.pgrid-sizer,
.pgrid-item {
width: 100%;
}
}
.pgrid-item {
float: left;
border-radius: 0.25rem;
@ -218,4 +225,4 @@
.pgrid-item img {
display: block;
max-width: 100%;
}
}