You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/03/18 18:28:29 UTC

[royale-asjs] branch develop updated: fix width of grid cells when there's 2 or more in a row

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

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 8433fad  fix width of grid cells when there's 2 or more in a row
8433fad is described below

commit 8433fad1a43594cc4c7213e1389fe5e3cd7bced8
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Mon Mar 18 19:28:22 2019 +0100

    fix width of grid cells when there's 2 or more in a row
---
 frameworks/projects/Jewel/src/main/resources/defaults.css       | 2 +-
 frameworks/projects/Jewel/src/main/sass/components/_layout.sass | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/resources/defaults.css b/frameworks/projects/Jewel/src/main/resources/defaults.css
index 289c7b4..e0ed99d 100644
--- a/frameworks/projects/Jewel/src/main/resources/defaults.css
+++ b/frameworks/projects/Jewel/src/main/resources/defaults.css
@@ -1082,7 +1082,7 @@ j|Label {
   width: 100%;
 }
 .layout.grid > * {
-  flex: 0 0 auto;
+  flex: 1 1 auto;
   max-width: 100%;
   width: 100%;
 }
diff --git a/frameworks/projects/Jewel/src/main/sass/components/_layout.sass b/frameworks/projects/Jewel/src/main/sass/components/_layout.sass
index e6d19ac..9788cd8 100644
--- a/frameworks/projects/Jewel/src/main/sass/components/_layout.sass
+++ b/frameworks/projects/Jewel/src/main/sass/components/_layout.sass
@@ -137,7 +137,7 @@ $gap-size: 10px !default
 		// height: 100%
 		
 		> *
-			flex: 0 0 auto // flex-grow, flex-shrink and flex-basis
+			flex: 1 1 auto // flex-grow, flex-shrink and flex-basis
 			max-width: 100%
 			width: 100%