From cf45ccf3b8e04516e5707bc1cd9f3888a5bd3f97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Gomes?= Date: Fri, 26 Jun 2015 11:44:08 +0100 Subject: [PATCH] Reviewing article template to reduce/improve custom CSS. Also moving an important fix upstream to layout component. --- src/layout/_layout.scss | 4 ++++ templates/article/index.html | 8 ++++---- templates/article/styles.css | 25 +++++++------------------ 3 files changed, 15 insertions(+), 22 deletions(-) diff --git a/src/layout/_layout.scss b/src/layout/_layout.scss index e5b2f727..fec48cc9 100644 --- a/src/layout/_layout.scss +++ b/src/layout/_layout.scss @@ -41,6 +41,10 @@ overflow-y: auto; overflow-x: hidden; position: relative; + + & > * { + flex-shrink: 0; + } } // Utility classes for screen sizes. diff --git a/templates/article/index.html b/templates/article/index.html index a5cfa724..b0568cc7 100644 --- a/templates/article/index.html +++ b/templates/article/index.html @@ -44,8 +44,8 @@ -
-
+
+
Material Design Lite
@@ -61,7 +61,7 @@
-
+
@@ -106,7 +106,7 @@
-