Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-18 10:09:16 +0300
committerTim Zallmann <tzallmann@gitlab.com>2017-08-18 10:09:16 +0300
commit90bdfe5e0d9f5da4c4a303d93bb2419f113d237e (patch)
tree35023c06e2efb972b1b28b0c68912cd2f6d28415 /app/assets
parent7e13bb9af391fe0f6cf87a44e5908a640a832313 (diff)
Sometimes you don't see the forrest because of all the trees, set now the preloading sizes to specific lazy class
Diffstat (limited to 'app/assets')
-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;