Mobile layout refinements

This commit is contained in:
Bill Thornton 2021-08-13 14:43:55 -04:00
parent dc59c68c20
commit 1734f5c345
2 changed files with 4 additions and 4 deletions

View File

@ -587,7 +587,7 @@
} }
.layout-mobile .mainDetailButtons { .layout-mobile .mainDetailButtons {
margin-top: 0.5em; margin-top: 1em;
margin-bottom: 0.5em; margin-bottom: 0.5em;
margin-left: 37.5%; margin-left: 37.5%;
@ -702,7 +702,7 @@
left: 5%; left: 5%;
bottom: 1rem; bottom: 1rem;
max-width: 30vw; max-width: 30vw;
padding-left: 5%; filter: drop-shadow(0 0 0.5rem #000);
@media all and (max-width: 32em) { @media all and (max-width: 32em) {
left: 0; left: 0;

View File

@ -565,8 +565,8 @@ function renderDetailPageBackdrop(page, item, apiClient) {
return false; return false;
} }
// Disable item backdrop for people because they never look right // Disable item backdrop for books and people because they only have primary images
if (item.Type === 'Person') { if (item.Type === 'Person' || item.Type === 'Book') {
return false; return false;
} }