From 877780755facc68cd2ecd2659718f56df8db4991 Mon Sep 17 00:00:00 2001 From: Dank Gabs Date: Mon, 8 Jul 2019 15:28:18 -0400 Subject: [PATCH 1/2] gab/social/gab-social#33 The composer window will go through a round of major improvements. This is a patch fix to lock the height of the composer window original message. Prevents publish button from being inaccessible when replying to long posts. --- app/javascript/styles/gabsocial/components.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/javascript/styles/gabsocial/components.scss b/app/javascript/styles/gabsocial/components.scss index f3570fe8..5766a604 100644 --- a/app/javascript/styles/gabsocial/components.scss +++ b/app/javascript/styles/gabsocial/components.scss @@ -306,6 +306,9 @@ min-height: 23px; overflow-y: auto; flex: 0 2 auto; + max-height: 500px; + @media screen and (max-width: $nav-breakpoint-3) {max-height: 220px;} + @media screen and (max-width: $nav-breakpoint-4) {max-height: 130px;} } .reply-indicator__header { From d5efb5540ca39f0b341ea9c7e8ce4eff40140bb2 Mon Sep 17 00:00:00 2001 From: Dank Gabs Date: Mon, 8 Jul 2019 16:16:47 -0400 Subject: [PATCH 2/2] gab/social/gab-social#33 Adjustment to the patch fix for inaccessible publish button. --- app/javascript/styles/gabsocial/components.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/styles/gabsocial/components.scss b/app/javascript/styles/gabsocial/components.scss index 5766a604..b45325ca 100644 --- a/app/javascript/styles/gabsocial/components.scss +++ b/app/javascript/styles/gabsocial/components.scss @@ -307,8 +307,8 @@ overflow-y: auto; flex: 0 2 auto; max-height: 500px; - @media screen and (max-width: $nav-breakpoint-3) {max-height: 220px;} - @media screen and (max-width: $nav-breakpoint-4) {max-height: 130px;} + @media screen and (min-width: 320px) and (max-width: 375px) {max-height: 220px;} + @media screen and (max-width: 320px) {max-height :130px;} } .reply-indicator__header {