mirror of
https://github.com/discourse/discourse.git
synced 2025-03-20 06:27:55 +08:00
Merge pull request #6295 from nbianca/fix_mobile_images
UX: Show only the expand icon in lightboxes on mobile.
This commit is contained in:
commit
cf3b7ccae2
@ -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";
|
||||
|
21
app/assets/stylesheets/mobile/lightbox.scss
Normal file
21
app/assets/stylesheets/mobile/lightbox.scss
Normal 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;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user