From c4d368264231b3cf5130a2a2bf806756eafbdccc Mon Sep 17 00:00:00 2001 From: Laurence Stant Date: Mon, 20 Apr 2020 02:32:17 +0100 Subject: [PATCH] Update _publication.scss Added media query to complement the full/half pgrid-item dynamic resizing on loading. --- assets/sass/pages/_publication.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 +}