fixes in img viewer

This commit is contained in:
cyber-dream 2023-04-29 20:02:00 +03:00
parent 5f6d5e7a48
commit 4c0bea4f89
2 changed files with 6 additions and 5 deletions

View File

@ -5,12 +5,13 @@
.Img-Viewer-Picture{
width: 100%;
height: 100%;
background-image: url("./test-image.jpg");
/* background-image: url("./test-image.jpg");
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
background-position: center center; */
}
.Img-Viewer-Picture-Toolbar{
width: 100%;
height: 35px;

View File

@ -11,9 +11,9 @@
<!-- <div class="Img-Viewer-Picture-Toolbar">
Toolbar
</div> -->
<div class="Img-Viewer-Picture-Container">
<img src="data:{{.header}},{{.base64}}">
</div>
<img class="Img-Viewer-Picture-Container"src="data:{{.header}},{{.base64}}">
</div>
{{ end }}