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

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new 0b40be5  tweak to composer layout to prevent scroll-bars at some 
resolution settings
0b40be5 is described below

commit 0b40be5b8f345356c59bf0ccfa36575a612d4713
Author: Alex Heneveld <[email protected]>
AuthorDate: Mon May 10 12:37:22 2021 +0100

    tweak to composer layout to prevent scroll-bars at some resolution settings
---
 .../app/views/main/graphical/graphical.state.less                   | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/ui-modules/blueprint-composer/app/views/main/graphical/graphical.state.less 
b/ui-modules/blueprint-composer/app/views/main/graphical/graphical.state.less
index 3cb5fc1..21df5a7 100644
--- 
a/ui-modules/blueprint-composer/app/views/main/graphical/graphical.state.less
+++ 
b/ui-modules/blueprint-composer/app/views/main/graphical/graphical.state.less
@@ -49,6 +49,7 @@
       flex-direction: column;
       height: 100%;
       margin-bottom: 0;
+      padding-bottom: 1px;
 
       .list-group-item {
         @active-border-width: 4px;
@@ -68,6 +69,9 @@
           color: @list-group-link-color;
           padding-bottom: 10px;
         }
+        &:last-child {
+          padding-bottom: 1px;  // because list-group-item inherits 
margin-bottom: -1px, it causes a scroll bar to appear
+        }
       }
 
 
@@ -229,6 +233,8 @@
     left: 49px;
     width: 440px;
     box-shadow: 5px 0 10px -2px @navbar-default-border;
+    overflow-y: none;  // should compute the height so not need scroll 
internally
+    min-height: 400px; // should be enough to show a few rows, to allow 
pagination
 
     .palette-title {
         margin-left: 0;

Reply via email to