From 7b7d303e251298a48ed97ad71deff2a6e4a2332e Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 24 May 2020 18:40:43 +1200 Subject: [PATCH] css: fix page reflow flash when loading shield badges --- static/style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/style.css b/static/style.css index 6e83d2a..95584f6 100644 --- a/static/style.css +++ b/static/style.css @@ -154,6 +154,13 @@ body { /* */ +img[src*="shields.io"] { + width: auto; + height: 20px; /* Set default height to avoid reflow flashing */ +} + +/* */ + @media screen and (max-width:960px) { #container {