Commit e7302b60 authored by ale's avatar ale

fix image width in book page

parent 71f97d50
......@@ -32,13 +32,15 @@ footer {
font-size: 60%;
}
/* Issue snippet */
.book-icon {
float: left;
width: 50px;
}
.book-cover-image {
width: 100%;
}
/* force image size */
.book-icon img {
width: 50px;
......
......@@ -4,7 +4,7 @@
<div class="col-xs-6">
{{ if .Book.CoverPath }}
<img src="/book/cover/{{.Book.Id}}">
<img class="book-cover-image" src="/book/cover/{{.Book.Id}}">
{{end}}
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment