From 9264f85505ef9d5b149d73ad7c971479d919582c Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 20 Jan 2018 15:37:40 -0800 Subject: [PATCH] tweak media images and video --- routes/_components/FreeTextLayout.html | 8 +++ routes/_components/Layout.html | 23 ++++++- routes/_components/LoadingSpinner.html | 6 -- routes/_components/Media.html | 68 +++++++++++++++++++ routes/_components/Status.html | 32 ++------- routes/_components/VirtualListItem.html | 3 +- routes/_utils/fullscreen.js | 23 +++++++ routes/_utils/virtualListStore.js | 4 +- routes/settings/_components/SettingsList.html | 4 +- .../_components/SettingsListItem.html | 5 ++ routes/settings/instances/[instanceName].html | 7 +- routes/settings/instances/add.html | 12 ++-- 12 files changed, 151 insertions(+), 44 deletions(-) create mode 100644 routes/_components/Media.html create mode 100644 routes/_utils/fullscreen.js diff --git a/routes/_components/FreeTextLayout.html b/routes/_components/FreeTextLayout.html index cbb82cb7..4257f55a 100644 --- a/routes/_components/FreeTextLayout.html +++ b/routes/_components/FreeTextLayout.html @@ -8,4 +8,12 @@ :global(.free-text p) { margin: 30px 0; } + :global(.free-text) { + overflow-y: auto; /* fixes weird iOS Safari bug where scrolling gets stuck */ + } + @media (max-width: 767px) { + :global(.free-text) { + margin: 10px; + } + } \ No newline at end of file diff --git a/routes/_components/Layout.html b/routes/_components/Layout.html index 3033ad50..ce524aa1 100644 --- a/routes/_components/Layout.html +++ b/routes/_components/Layout.html @@ -1,7 +1,7 @@ <:Window bind:innerHeight />