Merge pull request #6295 from nbianca/fix_mobile_images

UX: Show only the expand icon in lightboxes on mobile.
This commit is contained in:
Guo Xiang Tan 2018-08-27 13:07:55 +08:00 committed by GitHub
commit cf3b7ccae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

@ -16,6 +16,7 @@
@import "mobile/upload";
@import "mobile/user";
@import "mobile/history";
@import "mobile/lightbox";
@import "mobile/directory";
@import "mobile/search";
@import "mobile/emoji";

View File

@ -0,0 +1,21 @@
.lightbox .meta,
.lightbox:hover .meta {
opacity: 0.8;
}
.meta {
height: 25px;
width: 25px;
bottom: 0;
left: 0;
.filename,
.informations {
display: none;
}
.expand {
bottom: 1px;
right: 6px;
}
}