You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2022/02/22 11:59:02 UTC

[myfaces-tobago] 01/02: fix(theme): markup 'number' for tc:out inside tc:sheet

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

hnoeth pushed a commit to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit bd21f38563707c48149d9faea768b1cc2b70d364
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Tue Feb 22 12:56:33 2022 +0100

    fix(theme): markup 'number' for tc:out inside tc:sheet
    
    Markup 'number' had no effect for tc:out inside tc:sheet, because
    the tobago-out container had the same size as it's content.
    
    Inside a sheet, the tobago-out has now the same size as the column.
    Now the content can be right-sided.
    
    Issue: TOBAGO-2113
---
 tobago-theme/src/main/scss/_tobago.scss | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tobago-theme/src/main/scss/_tobago.scss b/tobago-theme/src/main/scss/_tobago.scss
index 457e511..203c564 100644
--- a/tobago-theme/src/main/scss/_tobago.scss
+++ b/tobago-theme/src/main/scss/_tobago.scss
@@ -1298,6 +1298,10 @@ tobago-sheet {
 
       @include treeNodeMarginLeftLevel();
 
+      > tobago-out {
+        display: block;
+      }
+
       > tobago-tree-node {
         display: flex;
         align-items: center;
@@ -1309,7 +1313,6 @@ tobago-sheet {
         }
       }
     }
-
   }
 
   footer {
@@ -1326,7 +1329,6 @@ tobago-sheet {
       width: 3em;
     }
   }
-
 }
 
 .tobago-sortable::after {