You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by sr...@apache.org on 2015/06/03 13:15:33 UTC

tez git commit: TEZ-2528. Tez UI: Column selector buttons gets clipped, and table scroll bar not visible in mac. (ssomarajapuram)

Repository: tez
Updated Branches:
  refs/heads/master 7b2ec39f0 -> d2b274904


TEZ-2528. Tez UI: Column selector buttons gets clipped, and table scroll bar not visible in mac. (ssomarajapuram)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/d2b27490
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/d2b27490
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/d2b27490

Branch: refs/heads/master
Commit: d2b274904bb1819cea890224201e37e8f0c67bec
Parents: 7b2ec39
Author: Sreenath Somarajapuram <so...@gmail.com>
Authored: Wed Jun 3 16:44:17 2015 +0530
Committer: Sreenath Somarajapuram <so...@gmail.com>
Committed: Wed Jun 3 16:44:17 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                                   |  1 +
 tez-ui/src/main/webapp/app/styles/main.less   | 12 +++++++++---
 tez-ui/src/main/webapp/app/styles/shared.less | 21 +++++++++++++++++++++
 3 files changed, 31 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/d2b27490/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index c7262b2..d4603e1 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -33,6 +33,7 @@ Release 0.7.1: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-2528. Tez UI: Column selector buttons gets clipped, and table scroll bar not visible in mac.
   TEZ-2391. TestVertexImpl timing out at times on jenkins builds.
   TEZ-2509. YarnTaskSchedulerService should not try to allocate containers if AM is shutting down.
   TEZ-2527. Tez UI: Application hangs on entering erroneous RegEx in counter table search box

http://git-wip-us.apache.org/repos/asf/tez/blob/d2b27490/tez-ui/src/main/webapp/app/styles/main.less
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/styles/main.less b/tez-ui/src/main/webapp/app/styles/main.less
index 257611d..c509b94 100644
--- a/tez-ui/src/main/webapp/app/styles/main.less
+++ b/tez-ui/src/main/webapp/app/styles/main.less
@@ -717,6 +717,8 @@ body, html {
   }
 
   .table-body-container{
+    .force-scrollbar;
+
     border: 1px solid @border-color;
     border-radius: 5px;
 
@@ -902,9 +904,13 @@ body, html {
   }
 }
 
-.modal-body {
-  max-height:500px;
-  overflow-y: auto;
+.modal {
+  position: absolute;
+
+  .modal-body {
+    max-height: 450px;
+    overflow-y: auto;
+  }
 }
 
 .per-io {

http://git-wip-us.apache.org/repos/asf/tez/blob/d2b27490/tez-ui/src/main/webapp/app/styles/shared.less
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/styles/shared.less b/tez-ui/src/main/webapp/app/styles/shared.less
index a3cdf2a..fc6b9f5 100644
--- a/tez-ui/src/main/webapp/app/styles/shared.less
+++ b/tez-ui/src/main/webapp/app/styles/shared.less
@@ -79,4 +79,25 @@
       -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
           transform: translateZ(0);
+}
+
+.force-scrollbar {
+  &::-webkit-scrollbar {
+    -webkit-appearance: none;
+  }
+  &::-webkit-scrollbar:vertical {
+    width: 11px;
+  }
+  &::-webkit-scrollbar:horizontal {
+    height: 11px;
+  }
+  &::-webkit-scrollbar-thumb {
+    border-radius: 8px;
+    border: 2px solid #EEE;
+    background-color: #BBB;
+  }
+  &::-webkit-scrollbar-track {
+    background-color: #EEE;
+    border-radius: 8px;
+  }
 }
\ No newline at end of file