From 0991fb0e06e6e78d8524aa9dfdc93492cdea7ac1 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Tue, 5 Mar 2019 20:20:20 +0100 Subject: [PATCH] Fix shields on index page Enabled cloudflare mirage, and that apparently removes styles from img --- _static/custom.css | 6 ++++++ index.rst | 9 ++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/_static/custom.css b/_static/custom.css index 07a8f1eea..44d607455 100644 --- a/_static/custom.css +++ b/_static/custom.css @@ -76,3 +76,9 @@ table.docutils { .not-hidden { display: block !important; } + +img.index-shield { + max-width: 100%; + height: 26px; + margin-top: 10px; +} diff --git a/index.rst b/index.rst index cdcafc419..86cf9b84b 100644 --- a/index.rst +++ b/index.rst @@ -14,11 +14,10 @@ ESPHome .. raw:: html - GitHub - Discord - Twitter - Donate + GitHub + Discord + Twitter + Donate .. _guides: