Skip to content

Commit

Permalink
Fixed extra white space issue on book preview modals (#10142)
Browse files Browse the repository at this point in the history
* fixed extra white space issue on book preview modal
* implemented the Richer UI access when downloading the app

---------

Co-authored-by: Dachi <[email protected]>
Co-authored-by: RayBB <[email protected]>
  • Loading branch information
3 people authored Dec 30, 2024
1 parent f3b26c2 commit b73fe2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions openlibrary/macros/BookPreview.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

$if render_once('book-preview-floater'):
<div class="hidden">
<div class="floater" id="bookPreview">
<div id="bookPreview">
<div class="book-preview">
<div class="floaterHead">
<h2>$_('Preview Book')</h2>
<a class="dialog--close" data-key="book_preview">&times;<span class="shift">$_("Close")</span></a>
</div>
<div class="iframe-container">
<div>
<iframe style="width:100%; height:515px"></iframe>
<p class="learn-more">
<a data-key="book_preview_learn_more"
Expand Down
5 changes: 0 additions & 5 deletions static/css/components/preview.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
*/

.book-preview {
.iframe-container {
border-top: 1px solid @lightest-grey;
border-bottom: 1px solid @lightest-grey;
}

.learn-more {
text-align: center;
}
Expand Down

0 comments on commit b73fe2b

Please sign in to comment.