Skip to content
Snippets Groups Projects
Commit e7302b60 authored by ale's avatar ale
Browse files

fix image width in book page

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