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 2020/09/10 17:19:03 UTC

[royale-asjs] branch develop updated: todomvc: remove some uneeded css styles thanks to jewel improvements over these months

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 b21aa41  todomvc: remove some uneeded css styles thanks to jewel improvements over these months
b21aa41 is described below

commit b21aa41bb250f2afc6fc1cd2086f75b35f6168d5
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Sep 10 19:17:56 2020 +0200

    todomvc: remove some uneeded css styles thanks to jewel improvements over these months
---
 .../todomvc-jewel-crux/src/main/resources/todomvc-styles.css  | 11 -----------
 .../main/royale/jewel/todomvc/renderers/TodoItemRenderer.mxml |  2 +-
 examples/jewel/todomvc/src/main/resources/todomvc-styles.css  | 11 -----------
 .../main/royale/jewel/todomvc/renderers/TodoItemRenderer.mxml |  2 +-
 4 files changed, 2 insertions(+), 24 deletions(-)

diff --git a/examples/crux/todomvc-jewel-crux/src/main/resources/todomvc-styles.css b/examples/crux/todomvc-jewel-crux/src/main/resources/todomvc-styles.css
index 69eec29..c20a5cb 100644
--- a/examples/crux/todomvc-jewel-crux/src/main/resources/todomvc-styles.css
+++ b/examples/crux/todomvc-jewel-crux/src/main/resources/todomvc-styles.css
@@ -184,7 +184,6 @@
 	font-family: inherit;
 	font-weight: 300;
 	line-height: 1.4em;
-	height: auto;
 	outline: 0;
 	color: inherit;
 	border: 1px solid #999;
@@ -202,12 +201,7 @@
 }
 
 /* ItemRenderer */
-.jewel.item {
-	min-height: 60px;
-}
-
 .todo-list li {
-	position: relative;
 	font-size: 24px;
 	border-bottom: 1px solid #ededed;
 }
@@ -282,11 +276,6 @@
 	            0 17px 2px -6px rgba(0, 0, 0, 0.2);
 }
 
-/* BarRow */
-.jewel.barrow {
-	height: unset;
-}
-
 /* Clear Completed Button */
 .jewel.button.clearCompleted {
 	text-decoration: underline;
diff --git a/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/renderers/TodoItemRenderer.mxml b/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/renderers/TodoItemRenderer.mxml
index 9530bb0..5d7c209 100644
--- a/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/renderers/TodoItemRenderer.mxml
+++ b/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/renderers/TodoItemRenderer.mxml
@@ -22,7 +22,7 @@ limitations under the License.
     xmlns:js="library://ns.apache.org/royale/basic"
     rollOver="rollOverHandler(event)"
     rollOut="rollOutHandler(event)"
-    width="100%">
+    width="100%" minHeight="60">
 
     <fx:Script>
         <![CDATA[
diff --git a/examples/jewel/todomvc/src/main/resources/todomvc-styles.css b/examples/jewel/todomvc/src/main/resources/todomvc-styles.css
index 37d3887..7865cd2 100644
--- a/examples/jewel/todomvc/src/main/resources/todomvc-styles.css
+++ b/examples/jewel/todomvc/src/main/resources/todomvc-styles.css
@@ -195,7 +195,6 @@ todomvc|TodoListSection
 	font-family: inherit;
 	font-weight: 300;
 	line-height: 1.4em;
-	height: auto;
 	outline: 0;
 	color: inherit;
 	border: 1px solid #999;
@@ -213,12 +212,7 @@ todomvc|TodoListSection
 }
 
 /* ItemRenderer */
-.jewel.item {
-	min-height: 60px;
-}
-
 .todo-list li {
-	position: relative;
 	font-size: 24px;
 	border-bottom: 1px solid #ededed;
 }
@@ -293,11 +287,6 @@ todomvc|TodoListSection
 	            0 17px 2px -6px rgba(0, 0, 0, 0.2);
 }
 
-/* BarRow */
-.jewel.barrow {
-	height: unset;
-}
-
 /* Clear Completed Button */
 .jewel.button.clearCompleted {
 	text-decoration: underline;
diff --git a/examples/jewel/todomvc/src/main/royale/jewel/todomvc/renderers/TodoItemRenderer.mxml b/examples/jewel/todomvc/src/main/royale/jewel/todomvc/renderers/TodoItemRenderer.mxml
index 9530bb0..5d7c209 100644
--- a/examples/jewel/todomvc/src/main/royale/jewel/todomvc/renderers/TodoItemRenderer.mxml
+++ b/examples/jewel/todomvc/src/main/royale/jewel/todomvc/renderers/TodoItemRenderer.mxml
@@ -22,7 +22,7 @@ limitations under the License.
     xmlns:js="library://ns.apache.org/royale/basic"
     rollOver="rollOverHandler(event)"
     rollOut="rollOutHandler(event)"
-    width="100%">
+    width="100%" minHeight="60">
 
     <fx:Script>
         <![CDATA[