mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 00:53:56 +00:00
css: Use SCSS nesting in lightbox.scss for .image-preview.
This commit is contained in:
@@ -14,9 +14,8 @@
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
#lightbox_overlay .image-preview img {
|
||||
img {
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
|
||||
@@ -39,9 +38,10 @@
|
||||
background-position: 0 0, 50px 0, 50px -50px, 0px 50px;
|
||||
}
|
||||
|
||||
#lightbox_overlay .image-preview canvas {
|
||||
canvas {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
#lightbox_overlay .exit {
|
||||
float: right;
|
||||
|
||||
Reference in New Issue
Block a user