[Glitch] Add expand/compress image button on image view box

Port 6a2db10f76 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Mashiro
2020-11-03 04:16:38 +08:00
committed by Thibaut Girka
parent f5df3d1ae2
commit 40af1cf65b
5 changed files with 335 additions and 21 deletions

View File

@@ -425,6 +425,20 @@
align-items: center;
justify-content: center;
flex-direction: column;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
* {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
}
&::-webkit-scrollbar,
*::-webkit-scrollbar {
width: 0;
height: 0;
background: transparent; /* Chrome/Safari/Webkit */
}
.image-loader__preview-canvas {
max-width: $media-modal-media-max-width;