fix (image): issue with weird loading artifact

This commit is contained in:
Mickael Kerjean 2023-04-24 23:54:28 +10:00
parent be48e1c855
commit 5bcda8d53d
2 changed files with 0 additions and 3 deletions

View file

@ -145,7 +145,6 @@ export function ImageViewerComponent({ filename, data, path, subscribe, unsubscr
ref={$container}
className={
"component_image_container" +
(state.draggable ? "" : " component_image_no_pager") +
(document.webkitIsFullScreen || document.mozFullScreen ? " fullscreen" : "")
}
>

View file

@ -28,10 +28,8 @@ body:not(.dark-mode) .component_imageviewer .component_image_container {
text-align: center;
overflow: hidden;
padding: 15px 10px 65px 10px;
&.component_image_no_pager { padding-bottom: 15px; }
@media screen and (max-height: 410px) {
padding: 5px 0px 40px 10px;
&.component_image_no_pager { padding-bottom: 5px; }
.component_pager .wrapper{
> span{padding: 2px 5px;}
padding: 5px 0;