Skip to content

Commit a6f107b

Browse files
authored
11377/fix/blank cover on edit book positioning (#11378)
* add class to make changes specificall on blank cover in edition edit * shift cover so that it is centered in its box
1 parent 8c2268e commit a6f107b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

openlibrary/templates/books/edit/edition.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
</div>
168168

169169
<div class="formBackRight">
170-
<div class="illustration">
170+
<div class="illustration editEditionCover">
171171
$:render_template("covers/book_cover", book)
172172
$:render_template("covers/change", book)
173173
</div>

static/css/components/illustration.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,8 @@
8686
height: auto;
8787
}
8888
}
89+
.editEditionCover {
90+
.SRPCoverBlank {
91+
left: 22px;
92+
}
93+
}

0 commit comments

Comments
 (0)