diff options
author | zzossig <52706977+zzossig@users.noreply.github.com> | 2020-06-10 04:27:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 04:27:08 +0300 |
commit | a98cba6d9be4a1bb56f883b0fa1c8b87f25d0dfe (patch) | |
tree | 1a9c942846018ce8dd32dd7ccd161da9f7c3cf04 | |
parent | e0bb2d90a457cabd9187a50fc6bc0ee6bf7258b3 (diff) | |
parent | c4d368264231b3cf5130a2a2bf806756eafbdccc (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.scss | 9 |
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 +} |