revert some styles for better landscape display

This commit is contained in:
yoanhg421 2023-10-02 11:41:26 -07:00
parent 63970ffc89
commit e38db62af2
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -9,7 +9,7 @@
</head> </head>
<body> <body>
<div > <div >
<img src="../{{ .Image.Path }}" alt="{{ .Title }}" /> <img src="../{{ .Image.Path }}" alt="{{ .Title }}" width="{{ .Image.Width }}" height="{{ .Image.Height }}" />
</div> </div>
</body> </body>
</html> </html>