You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ry...@apache.org on 2020/12/08 17:30:14 UTC

[airflow] branch master updated: Use "auto" instead of "scroll" to prevent visible (unused) scrollbars in some browsers (#12923)

This is an automated email from the ASF dual-hosted git repository.

ryanahamilton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new ed6eb42  Use "auto" instead of "scroll" to prevent visible (unused) scrollbars in some browsers (#12923)
ed6eb42 is described below

commit ed6eb4278d02a0a73629514267a4db1c935c4cca
Author: Ryan Hamilton <ry...@ryanahamilton.com>
AuthorDate: Tue Dec 8 12:28:28 2020 -0500

    Use "auto" instead of "scroll" to prevent visible (unused) scrollbars in some browsers (#12923)
---
 airflow/www/static/css/bootstrap-theme.css | 4 ++--
 airflow/www/static/css/dags.css            | 2 +-
 airflow/www/static/css/main.css            | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/airflow/www/static/css/bootstrap-theme.css b/airflow/www/static/css/bootstrap-theme.css
index 0a911c8..db2b419 100644
--- a/airflow/www/static/css/bootstrap-theme.css
+++ b/airflow/www/static/css/bootstrap-theme.css
@@ -783,7 +783,7 @@ pre code {
 }
 .pre-scrollable {
   max-height: 340px;
-  overflow-y: scroll;
+  overflow-y: auto;
 }
 .container {
   margin-right: auto;
@@ -5133,7 +5133,7 @@ button.close {
   top: -9999px;
   width: 50px;
   height: 50px;
-  overflow: scroll;
+  overflow: auto;
 }
 
 @media (min-width: 768px) {
diff --git a/airflow/www/static/css/dags.css b/airflow/www/static/css/dags.css
index 03ba4a5..d6da029 100644
--- a/airflow/www/static/css/dags.css
+++ b/airflow/www/static/css/dags.css
@@ -30,7 +30,7 @@
 
 .dags-table-body {
   margin: 0 1px;
-  overflow-x: scroll;
+  overflow-x: auto;
 }
 
 .dags-table-more {
diff --git a/airflow/www/static/css/main.css b/airflow/www/static/css/main.css
index 6e9f457..ed75e53 100644
--- a/airflow/www/static/css/main.css
+++ b/airflow/www/static/css/main.css
@@ -437,7 +437,7 @@ label[for="timezone-other"],
 
 /* Override FAB table views where table width extends beyond parent containers */
 .panel-body .panel-group + div {
-  overflow-x: scroll;
+  overflow-x: auto;
 }
 
 .task-instance-modal-column {