css: fix page reflow flash when loading shield badges

This commit is contained in:
mappu 2020-05-24 18:40:43 +12:00
parent 44be5c1249
commit 7b7d303e25
1 changed files with 7 additions and 0 deletions

View File

@ -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 {