mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-25 16:22:37 +02:00
Fix display on Kobo.
This commit is contained in:
parent
bf172e0d78
commit
63970ffc89
@ -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;
|
||||
}
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user