You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/08 18:31:07 UTC

[GitHub] [airflow] PApostol commented on a change in pull request #20052: Extend config window on UI

PApostol commented on a change in pull request #20052:
URL: https://github.com/apache/airflow/pull/20052#discussion_r765129326



##########
File path: airflow/www/static/js/trigger.js
##########
@@ -17,13 +17,14 @@
  * under the License.
  */
 
-/* global document, CodeMirror */
+/* global document, CodeMirror, window */
 
 const textArea = document.getElementById('json');
+const height = window.innerHeight * 0.6;

Review comment:
       Perhaps something like the below?
   > const minHeight = 300;
   const maxHeight = window.innerHeight - 450;
   const height = maxHeight > minHeight ? maxHeight : minHeight;




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org