From 1ecf4a493667103de9211ae3a2908203d8b15c6c Mon Sep 17 00:00:00 2001 From: Nicolas Garnier Date: Thu, 25 Apr 2019 20:18:14 +0200 Subject: [PATCH] Fixed material-icons styling --- .../google-codelab-about/google_codelab_about.scss | 2 ++ codelab-elements/google-codelab/_drawer.scss | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/codelab-elements/google-codelab-about/google_codelab_about.scss b/codelab-elements/google-codelab-about/google_codelab_about.scss index a2dde4936..587637ce9 100644 --- a/codelab-elements/google-codelab-about/google_codelab_about.scss +++ b/codelab-elements/google-codelab-about/google_codelab_about.scss @@ -57,4 +57,6 @@ google-codelab-about .about-card > *:not(:first-child) { google-codelab-about .about-card .material-icons { margin-right: 10px; + top: 6px; + position: relative; } diff --git a/codelab-elements/google-codelab/_drawer.scss b/codelab-elements/google-codelab/_drawer.scss index 14e53e68f..4a6469716 100644 --- a/codelab-elements/google-codelab/_drawer.scss +++ b/codelab-elements/google-codelab/_drawer.scss @@ -38,6 +38,11 @@ google-codelab #drawer .steps:only-child { max-height: 100%; } +google-codelab #drawer .metadata .material-icons { + top: 6px; + position: relative; +} + google-codelab #drawer ol { margin: 0; padding: 16px 12px;