From c9b59dd88a9aebd86809098934cd9f64d47cc9e7 Mon Sep 17 00:00:00 2001 From: trwnh Date: Fri, 28 Jun 2019 03:30:09 -0500 Subject: [PATCH 1/3] change aspect ratio of status video player since posts are 1:1 and not 16:9, this allows the player to scale to the entire post container, while the media auto-fits itself within the player. --- resources/assets/js/components/presenter/VideoPresenter.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/components/presenter/VideoPresenter.vue b/resources/assets/js/components/presenter/VideoPresenter.vue index dbe5535d9..8e9f37f71 100644 --- a/resources/assets/js/components/presenter/VideoPresenter.vue +++ b/resources/assets/js/components/presenter/VideoPresenter.vue @@ -5,7 +5,7 @@

{{ status.spoiler_text ? status.spoiler_text : 'CW / NSFW / Hidden Media'}}

(click to show)

-
+
@@ -23,4 +23,4 @@ export default { props: ['status'], } - \ No newline at end of file + From 3cf30697c2f08f97bb411bcb4fcbcf5075b54bc4 Mon Sep 17 00:00:00 2001 From: trwnh Date: Fri, 28 Jun 2019 03:35:20 -0500 Subject: [PATCH 2/3] allow post-component to shrink to fit media forcing a min-height causes sizing issues --- resources/assets/js/components/PostComponent.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index f0be53b1c..96a7f5423 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -390,11 +390,6 @@ .postPresenterContainer { background: #fff; } - @media(min-width: 720px) { - .postPresenterContainer { - min-height: 600px; - } - } ::-webkit-scrollbar { width: 0px; background: transparent; From ff4a76dafc41a602b9b066f537d2cbaa2cd5ccce Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 29 Jun 2019 13:51:49 -0600 Subject: [PATCH 3/3] Update FederationController, fix host meta --- app/Http/Controllers/FederationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/FederationController.php b/app/Http/Controllers/FederationController.php index cb65e99b8..f4c162ca3 100644 --- a/app/Http/Controllers/FederationController.php +++ b/app/Http/Controllers/FederationController.php @@ -179,7 +179,7 @@ class FederationController extends Controller abort_if(!config('federation.webfinger.enabled'), 404); $path = route('well-known.webfinger'); - $xml = ''; + $xml = ''; return response($xml)->header('Content-Type', 'application/xrd+xml'); }