Fix display on Kobo.

This commit is contained in:
yoanhg421 2023-10-02 09:00:32 -07:00
parent bf172e0d78
commit 63970ffc89
2 changed files with 3 additions and 6 deletions

View File

@ -4,10 +4,6 @@
}
body {
color: #{{ .View.Color.Foreground }};
background: #{{ .View.Color.Background }};
width: {{ .View.Width }}px;
height: {{ .View.Height }}px;
display: block;
margin: 0;
padding: 0;
@ -23,4 +19,5 @@ div {
img {
margin: 0;
padding: 0;
height: {{ .View.Height }}px;
}

View File

@ -8,8 +8,8 @@
<meta name="viewport" content="{{ .ViewPort }}"/>
</head>
<body>
<div style="top:{{ .Image.Top }}%">
<img src="../{{ .Image.Path }}" alt="{{ .Title }}" width="{{ .Image.Width }}" height="{{ .Image.Height }}"/>
<div >
<img src="../{{ .Image.Path }}" alt="{{ .Title }}" />
</div>
</body>
</html>