summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-18 09:09:16 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-08-18 09:09:16 +0200
commit90bdfe5e0d9f5da4c4a303d93bb2419f113d237e (patch)
tree35023c06e2efb972b1b28b0c68912cd2f6d28415
parent7e13bb9af391fe0f6cf87a44e5908a640a832313 (diff)
downloadgitlab-ce-36496-badges-should-not-be-huge.tar.gz
Sometimes you don't see the forrest because of all the trees, set now the preloading sizes to specific lazy class36496-badges-should-not-be-huge
-rw-r--r--app/assets/stylesheets/framework/typography.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss
index 96409b10b99..a95fc2f7a72 100644
--- a/app/assets/stylesheets/framework/typography.scss
+++ b/app/assets/stylesheets/framework/typography.scss
@@ -13,6 +13,9 @@
img {
/*max-width: 100%;*/
margin: 0 0 8px;
+ }
+
+ img.lazy {
min-width: 200px;
min-height: 100px;
background-color: $gray-lightest;