StudentSydney has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/402760 )

Change subject: Add lazy loading images and grid layout in rows to images
......................................................................

Add lazy loading images and grid layout in rows to images

This adds lazy loading to images from queries so they do not all load at
the same time, which is very slow and a bad user experiance for large
queries. This also imrpoves the layout and arranges the images in order.
The heights of images must be inform within a row so that they
do not staggar at the bottom.

Bug: T166216
Change-Id: Ie91a1675ab02dca9faf124cd50bcacc07aac8af7
---
M embed.html
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikidata/query/gui 
refs/changes/60/402760/1

diff --git a/embed.html b/embed.html
index 70ea199..6667bf3 100644
--- a/embed.html
+++ b/embed.html
@@ -109,6 +109,9 @@
 .header-toolbar:hover {
        opacity: 1;
 }
+.img-grid {
+       width: 95vw;
+}
 
 </style>
 <body>

-- 
To view, visit https://gerrit.wikimedia.org/r/402760
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie91a1675ab02dca9faf124cd50bcacc07aac8af7
Gerrit-PatchSet: 1
Gerrit-Project: wikidata/query/gui
Gerrit-Branch: master
Gerrit-Owner: StudentSydney <sydv...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to