Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzossig <52706977+zzossig@users.noreply.github.com>2020-06-10 04:27:08 +0300
committerGitHub <noreply@github.com>2020-06-10 04:27:08 +0300
commita98cba6d9be4a1bb56f883b0fa1c8b87f25d0dfe (patch)
tree1a9c942846018ce8dd32dd7ccd161da9f7c3cf04
parente0bb2d90a457cabd9187a50fc6bc0ee6bf7258b3 (diff)
parentc4d368264231b3cf5130a2a2bf806756eafbdccc (diff)
Merge pull request #262 from helgrind/pgrid-item_media_query_fix
Update _publication.scss to fix bad initial layout on mobile
-rw-r--r--assets/sass/pages/_publication.scss9
1 files changed, 8 insertions, 1 deletions
diff --git a/assets/sass/pages/_publication.scss b/assets/sass/pages/_publication.scss
index 33e4649..1a1b6b0 100644
--- a/assets/sass/pages/_publication.scss
+++ b/assets/sass/pages/_publication.scss
@@ -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%;
-} \ No newline at end of file
+}