You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ca...@apache.org on 2016/12/19 02:18:37 UTC

[49/50] git commit: [flex-asjs] [refs/heads/feature/mdl] - apply fix in CSS (from bug FLEX-35171)

apply fix in CSS (from bug FLEX-35171)


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

Branch: refs/heads/feature/mdl
Commit: 543939783412e25bf3f65d5366949a5e0a837b22
Parents: a873f45
Author: Carlos Rovira <ca...@apache.org>
Authored: Sun Dec 18 23:14:45 2016 +0100
Committer: Carlos Rovira <ca...@apache.org>
Committed: Sun Dec 18 23:14:45 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/MDLExample/src/main/flex/Cards.mxml          | 2 +-
 examples/flexjs/MDLExample/src/main/resources/mdl-styles.css | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54393978/examples/flexjs/MDLExample/src/main/flex/Cards.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/Cards.mxml b/examples/flexjs/MDLExample/src/main/flex/Cards.mxml
index 1daf8ef..6e3b75b 100644
--- a/examples/flexjs/MDLExample/src/main/flex/Cards.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/Cards.mxml
@@ -71,7 +71,7 @@ limitations under the License.
                     <mdl:CardTitleText>
                         <js:beads>
                             <js:InnerHTML>
-                                <![CDATA[<h4 class="mdl-card__title_h4">Featured event:<br>May 24, 2016<br>7-11pm</h4>]]>
+                                <![CDATA[<h4>Featured event:<br>May 24, 2016<br>7-11pm</h4>]]>
                             </js:InnerHTML>
                         </js:beads>
                     </mdl:CardTitleText>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54393978/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
index b9b7831..169b01d 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
@@ -19,8 +19,9 @@
 ////////////////////////////////////////////////////////////////////////////////
 */
 
-@namespace "library://ns.apache.org/flexjs/mdl";
+@namespace "http://www.w3.org/1999/xhtml";
 @namespace js "library://ns.apache.org/flexjs/basic";
+@namespace mdl "library://ns.apache.org/flexjs/mdl";
 
 .flexjs *, . flexjs *:before, . flexjs *:after {
     -moz-box-sizing: border-box;
@@ -118,7 +119,7 @@ js|Image
 .demo-card-event > .mdl-card__title {
   align-items: flex-start;
 }
-.demo-card-event > .mdl-card__title > .mdl-card__title_h4 {
+.demo-card-event > .mdl-card__title > h4 {
   margin-top: 0;
 }
 .demo-card-event > .mdl-card__actions {